You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mike Drob (JIRA)" <ji...@apache.org> on 2016/12/12 23:30:58 UTC

[jira] [Created] (LUCENE-7592) EOFException while opening index should be rethrown as CorruptIndexException

Mike Drob created LUCENE-7592:
---------------------------------

             Summary: EOFException while opening index should be rethrown as CorruptIndexException
                 Key: LUCENE-7592
                 URL: https://issues.apache.org/jira/browse/LUCENE-7592
             Project: Lucene - Core
          Issue Type: Bug
          Components: core/index
            Reporter: Mike Drob


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org