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

Robert Muir commented on LUCENE-5857:
-------------------------------------

Yes, i propose removing fallback logic completely.

> make genLookaheadCountLimit configurable, add genLookbackCountLimit parameter
> -----------------------------------------------------------------------------
>
>                 Key: LUCENE-5857
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5857
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Christine Poerschke
>
> The problem we saw was that an error-in-final-commit during solr-shutdown led 
> to a corrupted segments_.... file which prevented subsequent solr-start, 
> details below.
> this change:
> * adds genLookbackCountLimit similar to the existing genLookaheadCountLimit
> * makes both parameters configurable (initial values defaulted to existing 
> behaviour)
> error-in-final-commit result:
> * segments_2fi5 file present and zero-bytes long 
> (https://issues.apache.org/jira/i#browse/SOLR-6296 concerns root cause)
> * segments_2fi4 file absent on disk (speculation: 2fi4 was result of 
> in-memory segment merging)
> * segments_2fi3 file present and usable (but not found by existing 
> looking-logic)
> * segments.gen file referenced 2fi3



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

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

Reply via email to