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

Uwe Schindler commented on LUCENE-8150:
---------------------------------------

Hi, looks fine to me, the simple check in SegmentInfos is enough. Just because 
I am interested: Can't we throw exception earlier on opening index?

> Remove references to segments.gen.
> ----------------------------------
>
>                 Key: LUCENE-8150
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8150
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Adrien Grand
>            Priority: Minor
>             Fix For: 8.1, master (9.0)
>
>         Attachments: LUCENE-8150.patch, LUCENE-8150.patch
>
>
> This was the way we wrote pending segment files before we switch to 
> {{pending_segments_N}} in LUCENE-5925.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to