cwperks commented on code in PR #15120:
URL: https://github.com/apache/lucene/pull/15120#discussion_r2298966736


##########
lucene/core/src/java/org/apache/lucene/index/IndexWriter.java:
##########
@@ -3285,6 +3285,11 @@ public AddIndexesMergeSource(IndexWriter writer) {
     }
 
     public void registerMerge(MergePolicy.OneMerge merge) {
+      try {
+        addEstimatedBytesToMerge(merge);
+      } catch (IOException _) {
+        // ignore and append to pending merges

Review Comment:
   Changed to throw UncheckedIOException



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