[ 
https://issues.apache.org/jira/browse/LUCENE-5934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14128463#comment-14128463
 ] 

Robert Muir commented on LUCENE-5934:
-------------------------------------

What happened with the safety check?

The user hit it, which is nice:
{noformat}
java.lang.IllegalStateException: cannot
write 3x SegmentInfo unless codec is Lucene3x (got: Lucene40)
at org.apache.lucene.index.SegmentInfos.write3xInfo(SegmentInfos.java:607)
{noformat}

Can we move it before we do anything destructive for additional safety? or does 
it not matter and due to fallback logic in commit...

> 4.10 broke backwards compatibility for 4.0 indexes
> --------------------------------------------------
>
>                 Key: LUCENE-5934
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5934
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/codecs, core/index
>    Affects Versions: 4.10
>            Reporter: Robert Muir
>            Priority: Blocker
>             Fix For: 4.10.1, 4.11, 5.0
>
>         Attachments: LUCENE-5934.patch
>
>
> As reported by Ian on the user list:
> Its trying to treat them as 3.x



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to