lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Willnauer (JIRA)" <>
Subject [jira] [Commented] (LUCENE-3255) Corrupted segment file not detected and wipes index contents
Date Wed, 29 Jun 2011 07:33:28 GMT


Simon Willnauer commented on LUCENE-3255:

I wonder if we could check the latest segments_N file against a previous one and if the version
of that file is older that the previous one we drop it since we don't provide forward compatibility.
we could even spin a 2.9 bugfix release for that though.

> Corrupted segment file not detected and wipes index contents
> ------------------------------------------------------------
>                 Key: LUCENE-3255
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 2.9.4, 3.2
>            Reporter: Mark Harwood
>            Assignee: Michael McCandless
>             Fix For: 3.4
>         Attachments: AllZerosSegmentFile,,,
LUCENE-3255.patch, LUCENE-3255_testcase.patch
> 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 accepts >=0 as valid for backward compatibility reasons.

This message is automatically generated by JIRA.
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message