[ 
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

Here is a patch.

Somehow, this impersonation flag dangerously got turned on by default.
Thats the root cause of the test issue.

Some tests that explicitly create old codecs for writing will fail with the 
patch. We have to fix them to use the boolean.

> 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, 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