You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Greg Tarr (JIRA)" <ji...@apache.org> on 2011/06/28 16:57:17 UTC
[jira] [Commented] (LUCENE-3255) Corrupted segment file not
detected and wipes index contents
[ https://issues.apache.org/jira/browse/LUCENE-3255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13056550#comment-13056550 ]
Greg Tarr commented on LUCENE-3255:
-----------------------------------
Thanks for this Mark. A speedy resolution would be extremely helpful for confidence in our lucene-based implementation.
> Corrupted segment file not detected and wipes index contents
> ------------------------------------------------------------
>
> Key: LUCENE-3255
> URL: https://issues.apache.org/jira/browse/LUCENE-3255
> Project: Lucene - Java
> Issue Type: Bug
> Affects Versions: 2.9.4, 3.2
> Reporter: Mark Harwood
> Attachments: AllZerosSegmentFile, BadSegmentsFileTest.java
>
>
> Lucene will happily wipe an existing index if presented with a latest generation segments_n file of all zeros. File format documentation says segments_N files should start with a format of -9 but SegmentInfos.read accepts >=0 as valid for backward compatibility reasons.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org