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

Robert Muir updated LUCENE-5377:
--------------------------------

    Attachment: LUCENE-5377.patch

I fixed all these tests here.

So this patch fixes the disease (in the test infra), and fixes 4.0 SIFormat to 
be able to write .si just for this purpose.

The bug does not really impact trunk, as it didnt have the dangerous 'catch 
UOE', on trunk the bug is the user would get an actual UOE. But this is fixed, 
as now the SIFormat can write.

I think this patch is ready: for the backport we have to ensure we only "hide" 
that UOE if its really Lucene3x, so an instanceof is really needed there.

> IW.addIndexes(Dir[]) causes silent index corruption
> ---------------------------------------------------
>
>                 Key: LUCENE-5377
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5377
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/index
>    Affects Versions: 4.6
>         Environment: windows/linux
>            Reporter: Littlestar
>            Assignee: Robert Muir
>         Attachments: LUCENE-5377.patch, LUCENE-5377.patch, TestCore_45.java, 
> TestCore_46.java
>
>
> my old facet index create by Lucene version=4.2
> use indexChecker ok.
> now I upgrade to Lucene 4.6 and put some new records to index.
> then reopen index, some files in indexdir missing....
> no .si files.
> I debug into it,  new version format of segments.gen(segments_N) record bad 
> segments info.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to