You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shai Erera (JIRA)" <ji...@apache.org> on 2011/01/23 06:11:44 UTC
[jira] Resolved: (LUCENE-2720) IndexWriter should throw
IndexFormatTooOldExc on open, not later during optimize/getReader/close
[ https://issues.apache.org/jira/browse/LUCENE-2720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shai Erera resolved LUCENE-2720.
--------------------------------
Resolution: Fixed
Assignee: Shai Erera
Lucene Fields: [New, Patch Available] (was: [New])
Thanks Mike and Uwe for your comments !
Committed revision 1062324 (3x).
Committed revision 1062325 (trunk).
I'll send a reindexing note to java-user & dev.
> IndexWriter should throw IndexFormatTooOldExc on open, not later during optimize/getReader/close
> ------------------------------------------------------------------------------------------------
>
> Key: LUCENE-2720
> URL: https://issues.apache.org/jira/browse/LUCENE-2720
> Project: Lucene - Java
> Issue Type: Bug
> Components: Index
> Reporter: Michael McCandless
> Assignee: Shai Erera
> Fix For: 3.1, 4.0
>
> Attachments: LUCENE-2720-3x.patch, LUCENE-2720-trunk.patch, LUCENE-2720-trunk.patch
>
>
> Spinoff of LUCENE-2618 and also related to the original issue LUCENE-2523...
> If you open IW on a too-old index, you don't find out until much later that the index is too old.
> This is because IW does not go and open segment readers on all segments. It only does so when it's time to apply deletes, do merges, open an NRT reader, etc.
> This is a serious bug because you can in fact succeed in committing with the new major version of Lucene against your too-old index, which is catastrophic because suddenly the old Lucene version will no longer open the index, and so your index becomes unusable.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org