[
https://issues.apache.org/jira/browse/LUCENE-8734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nhat Nguyen updated LUCENE-8734:
--------------------------------
Labels: pull-request-available (was: )
> 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: 7.7.1, 8.0
> Reporter: Nhat Nguyen
> Assignee: Nhat Nguyen
> Priority: Major
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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]