kkewwei opened a new issue, #17048:
URL: https://github.com/apache/lucene/issues/17048

   ### Description
   
   The PR #16896 show the `TestAddIndexes.testAddIndicesWithSoftDeletes` failed.
   https://github.com/apache/lucene/actions/runs/44525702459/job/135566451877
   
   Reason:
   
   
https://github.com/apache/lucene/blob/main/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java#L5484
   
   When reader pooling is disabled, releasing a merged segment can flush its 
pending DV updates and trigger a checkpoint. This may delete DV update files 
still needed by another merge source, causing`FileNotFoundException` .
   
   For example: segment a b -> c:
   
   1. Releasing a can flush its pending DV updates and trigger a checkpoint 
that deletes DV update files still needed by b . 
   2. Releasing b then fails with`FileNotFoundException` .
   
   I'm going to fix it.
   
   ### Version and environment details
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to