tlrx commented on code in PR #16086:
URL: https://github.com/apache/lucene/pull/16086#discussion_r3335176290


##########
lucene/core/src/java/org/apache/lucene/codecs/CodecUtil.java:
##########


Review Comment:
   Thanks @rmuir, checking every ~1MB seek makes sense and the public 
configurable value on IndexWriterConfig would become unnecessary. 
   
   We'd still need to wire the OneMerge::checkAborted call down to 
CodecUtil.checksumEntireFile though, so the checkIntegrity() signature on the 
abstract reader classes would need to change (or be overloaded) to accept the 
abort callback, something that @mikemccand was concerned about.



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