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

Do not check footers on Lucene7x segments when throwing IndexFormatTooOld

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 9.0
    • 9.0
    • core/index
    • None
    • New

    Description

      Ran into this while investigating how to improve the logging situation inĀ SOLR-15516

      When we throw an IndexFormatTooOldException when attempting to read a segment, we will read still attempt to read the footer since it is newer than 7x (which AFAIUI was the oldest version to support these footers?)

      We should update that to only check footers for versions newer than 8x, otherwise we create a needless additional exception.

      Attachments

        Issue Links

          Activity

            People

              mdrob Mike Drob
              mdrob Mike Drob
              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 - 0.5h
                  0.5h