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

EOFException while opening index should be rethrown as CorruptIndexException

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    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

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mdrob Mike Drob

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment