Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-9339

Only call MergeScheduler when we actually found new merges

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 9.0, 8.6
    • 9.0, 8.6
    • None
    • None
    • New, Patch Available

    Description

      IW#maybeMerge calls the MergeScheduler even if it didn't find any merges we should instead only do this if there is in-fact anything there to merge and safe the call into a sync'd method. In addition to this we never respect the newMergesFound parameter. It seems unnecessary and can be removed.

      Attachments

        Activity

          People

            simonw Simon Willnauer
            simonw Simon Willnauer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m