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

IndexReader and friends should check ref count when incrementing

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.6
    • 4.7, 6.0
    • None
    • None
    • New, Patch Available

    Description

      IndexReader and SegmentCoreReaders blindly increments it's refcount which could already be counted down to 0 which might allow an IndexReader to "rise from the dead" and use an already closed SCR instance. Even if that is caught we should try best effort to raise ACE asap.

      Attachments

        1. LUCENE-5362.patch
          2 kB
          Simon Willnauer
        2. LUCENE-5362.patch
          2 kB
          Simon Willnauer

        Activity

          People

            simonw Simon Willnauer
            simonw Simon Willnauer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: