luyuncheng opened a new pull request, #12237: URL: https://github.com/apache/lucene/pull/12237
when there is a call in IndexWrier#maybeMerge->updatePendingMerges->registerMerge i think the `ensureValidMerge` is duplicated check which in the code: https://github.com/apache/lucene/blob/bed07c6b0242646306470df9265469f6a811b5b2/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java#L4766-L4777 and when check error, it return false early. -- 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: issues-unsubscr...@lucene.apache.org 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