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

EOFException while opening index should be rethrown as CorruptIndexException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 6.4, 7.0
    • core/index
    • None
    • New

    Description

      When opening an index, if some files were previously truncated then this should throw the more general CorruptIndexException instead of the specific EOFException to indicate to a consumer that this is not a transient or internally recoverable state.

      Attachments

        1. LUCENE-7592.patch
          1 kB
          Mike Drob
        2. LUCENE-7592.patch
          3 kB
          Mike Drob

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mdrob Mike Drob
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: