zacharymorn commented on a change in pull request #128:
URL: https://github.com/apache/lucene/pull/128#discussion_r634957781



##########
File path: lucene/core/src/java/org/apache/lucene/index/CheckIndex.java
##########
@@ -2795,12 +2972,14 @@ public Relation compare(byte[] minPackedValue, byte[] 
maxPackedValue) {
    * @lucene.experimental
    */
   public static Status.DocValuesStatus testDocValues(
-      CodecReader reader, PrintStream infoStream, boolean failFast) throws 
IOException {

Review comment:
       I also think it should be ok to backport. The only thing I would like to 
mention is that, in addition to the API change, the more subtle change is that 
these methods would now no longer throw unchecked RuntimeException when the 
check find index integrity error, and `failFast` set to `true`. For any 
application that (should not have) relied on this behavior, it may now find the 
check would continue processing instead of aborting with exception when the 
check finds an error. 




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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to