Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-8734

nextWriteDelGen of SegmentCommitInfo should be persisted

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 7.7.1, 8.0
    • Fix Version/s: None
    • Component/s: core/index
    • Lucene Fields:
      New

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dnhatn Nhat Nguyen
                Reporter:
                dnhatn Nhat Nguyen
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m