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

   This change introduces a merge `AbortChecker` that is threaded through 
`Merge`State into `StoredFieldsReader.checkIntegrity` and 
`CodecUtil.checksumEntireFile`, allowing long-running integrity checks like 
described in #13354 to be aborted sooner after a merge is aborted. 
   
   It is enabled via `IndexWriterConfig.setMergeAbortCheckIntervalBytes`, which 
indicates a number of bytes to read during checksumming before checking if the 
corresponding merge has been aborted.
   
   Only stored fields are wired up but other files like postings and doc values 
could benefit from the same treatment in a follow-up. Having `MergeState` 
expose the `AbortChecker.checkAborted` method could also be useful to other 
merging logic like HNSW graphs maybe.


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