File tree 1 file changed +1
-10
lines changed
1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -364,14 +364,6 @@ pub async fn build_new_segment<RT: Runtime>(
364
364
// deleted within our new segment's time window and can be ignored.
365
365
let mut dangling_deletes = BTreeSet :: new ( ) ;
366
366
367
- // Keep track of deleted document ids whose previous revision was within our
368
- // document log window for this new segment. We can't process previous
369
- // revisions inside of our document window because mutations to the document
370
- // may mean it has terms that don't match those in the previous segment. Use
371
- // this set to skip deletes until we find the first delete for a given id
372
- // whose previous revision's timestamp is outside our window.
373
- // let mut pending_deletes = BTreeSet::new();
374
-
375
367
let mut num_indexed_documents = 0 ;
376
368
377
369
let mut is_at_least_one_document_indexed = false ;
@@ -382,8 +374,7 @@ pub async fn build_new_segment<RT: Runtime>(
382
374
// 1. We add the document to our new segment
383
375
// 2. We delete the document from a previous segment
384
376
// 3. We ignore the document because it was both added and removed within the
385
- // time bounds
386
- // for our new segment.
377
+ // time bounds for our new segment.
387
378
let convex_id = revision_pair. id . internal_id ( ) ;
388
379
389
380
// Skip documents we have already added to the segment, but update dangling
You can’t perform that action at this time.
0 commit comments