lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (LUCENE-7592) EOFException while opening index should be rethrown as CorruptIndexException
Date Wed, 14 Dec 2016 23:02:58 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-7592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael McCandless resolved LUCENE-7592.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 6.4
                   master (7.0)

> 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
>             Fix For: master (7.0), 6.4
>
>         Attachments: LUCENE-7592.patch, LUCENE-7592.patch
>
>
> 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


Mime
View raw message