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

Drop fully deleted reader in SubReaderWrapper

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 7.5, 8.0
    • 7.5, 8.0
    • None
    • None
    • New

    Description

      Today we can only wrap readers in SubReaderWrapper but never filter them out
      entirely. This causes a invariant for soft-deletes that exposes fully deleted
      segments with SoftDeletesDirectoryReaderWrapper. This change drops fully deleted readers after they are wrapped.

      Attachments

        1. LUCENE-8484.patch
          0.8 kB
          Nhat Nguyen

        Issue Links

          Activity

            People

              Unassigned Unassigned
              simonw Simon Willnauer
              Votes:
              0 Vote for this issue
              Watchers:
              4 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 - 20m
                  20m