[ 
https://issues.apache.org/jira/browse/LUCENE-7592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15749786#comment-15749786
 ] 

ASF subversion and git services commented on LUCENE-7592:
---------------------------------------------------------

Commit b4bb461c4391b93d511e960208c8c4dd5e233021 in lucene-solr's branch 
refs/heads/branch_6x from Mike McCandless
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=b4bb461 ]

LUCENE-7592: if segments file is truncated, throw CorruptIndexException


> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to