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

LRUQueryCache can leak locks

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.3.1
    • None
    • None
    • New

    Description

      If a QueryCache is shared between two searchers, one of which has an IndexReader with no CacheHelper, then CachingWrapperWeight can leak locks in scorerSupplier() and bulkScorer(). This can cause the IndexReader that does have a CacheHelper to hang on close.

      Attachments

        1. LUCENE-8254.patch
          5 kB
          Alan Woodward
        2. LUCENE-8254.patch
          5 kB
          Alan Woodward

        Activity

          People

            romseygeek Alan Woodward
            romseygeek Alan Woodward
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: