Nhat Nguyen created LUCENE-8734:
-----------------------------------
Summary: nextWriteDelGen of SegmentCommitInfo should be persisted
Key: LUCENE-8734
URL: https://issues.apache.org/jira/browse/LUCENE-8734
Project: Lucene - Core
Issue Type: Bug
Components: core/index
Affects Versions: 8.0, 7.7.1
Reporter: Nhat Nguyen
Assignee: Nhat Nguyen
When opening an IndexWriter, we will set nextWriteDelGen,
nextWriteFieldInfosGen, and nextWriteDocValuesGen beyond what we have in the
directory to avoid double writes in cases where the previous IW was not closed
gracefully or the new IW is opened with a previous commit (not the latest
commit). We need to persist these values; otherwise, they will be lost when the
current IW is closed.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]