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

EOFException while opening index should be rethrown as CorruptIndexException

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.4, 7.0
    • Component/s: core/index
    • Labels:
      None
    • Lucene Fields:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: