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

LogByteSizeMergePolicy maxMergeSizeForForcedMerge default is negative

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • 4.10.3, 5.0
    • 5.1, 6.0
    • None
    • None
    • New

    Description

      The default value for maxMergeSizeForForcedMerge in the class LogByteSizeMergePolicy is Long.MAX_VALUE*1024*1024 which overflows and becomes -1048576.

      As far as I can see this results in forced merges always failing to merge, but frankly this is so far from my area of interest that I will not take the time to create a proper unit test.

      Attachments

        1. SOLR-7163.patch
          1 kB
          Toke Eskildsen

        Activity

          People

            Unassigned Unassigned
            toke Toke Eskildsen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: