dnhatn commented on code in PR #13324:
URL: https://github.com/apache/lucene/pull/13324#discussion_r1584139073


##########
lucene/core/src/java/org/apache/lucene/index/IndexWriter.java:
##########
@@ -6128,7 +6128,7 @@ public final int numDeletesToMerge(SegmentCommitInfo 
info) throws IOException {
     ensureOpen(false);
     validate(info);
     MergePolicy mergePolicy = config.getMergePolicy();
-    final ReadersAndUpdates rld = getPooledInstance(info, false);
+    final ReadersAndUpdates rld = getPooledInstance(info, true);

Review Comment:
   Good catch, thanks @easyice. I pushed 
https://github.com/apache/lucene/pull/13324/commits/7e970128b573ba91edd048478546db5cdb9923ac



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

Reply via email to