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

TieredMergePolicy has broken assumptions when maxMergeAtOnce is greater than segmentsPerTier

Details

    • Test
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 7.5, 8.0
    • None
    • None
    • New

    Description

      While working on LUCENE-8391 I had test failures when maxMergeAtOnce is larger than segmentsPerTier. For instance when all segments are on the same tier, the maximum number of segments that is allowed in the index is segmentsPerTier but because the tiered policy wants to find maxMergeAtOnce segments to merge, no segments will get merged if there are less than maxMergeAtOnce segments.

      Attachments

        1. LUCENE-8392.patch
          5 kB
          Adrien Grand

        Activity

          People

            Unassigned Unassigned
            jpountz Adrien Grand
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: