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

Do not expose deleted commits in IndexDeletionPolicy#onCommit

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 8.8.1
    • 9.0, 8.9
    • core/index
    • None
    • New

    Description

      If we fail to delete files that belong to a commit point, then we will expose that deleted commit in the next calls of IndexDeletionPolicy#onCommit(). I think we should never expose those deleted commit points as some of their files might have been deleted already.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dnhatn Nhat Nguyen
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 40m
                  40m