jimczi opened a new pull request, #16988:
URL: https://github.com/apache/lucene/pull/16988

   When overlays are enabled, the doc-values updates that resolve during a 
merge are carried over from the source segments on disk and given a delete 
generation just below the smallest still-buffered update for the field. That 
ignores the updates that already completed before the merge. The carried-over 
value already reflects them, so an update whose generation is at or above that 
point replays on top of the merged value and the newer, already-acknowledged 
value is lost. When the generations tie, the writer is closed instead.
   
   The carried-over value has to order below both the smallest in-flight update 
and the last completed one, since both are already folded into it. Clamp its 
generation to the lower of the two so neither can overwrite it.
   
   Found via the AI-assisted bug list (apache/lucene#16937), listed there as 
LFV-002.
   


-- 
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