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

LRUQueryCache can leak locks

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.3.1
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: