You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Nhat Nguyen (JIRA)" <ji...@apache.org> on 2019/03/22 02:45:00 UTC
[jira] [Created] (LUCENE-8734) nextWriteDelGen of SegmentCommitInfo
should be persisted
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org