Christine Poerschke created LUCENE-5857:
-------------------------------------------
Summary: 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.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]