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

Aborted merge can leak readers if the output is empty

Details

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

    Description

      We fail to close the merged readers of an aborted merge if its output segment contains no document.

      This bug was discovered by a test in Elasticsearch (elastic/elasticsearch#67884).

      Attachments

        Issue Links

          Activity

            People

              dnhatn Nhat Nguyen
              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 - 1h
                  1h