[ https://issues.apache.org/jira/browse/LUCENE-8254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16439179#comment-16439179 ]
Alan Woodward commented on LUCENE-8254: --------------------------------------- Here's a patch, including a test that hangs without the corresponding fix. > LRUQueryCache can leak locks > ---------------------------- > > Key: LUCENE-8254 > URL: https://issues.apache.org/jira/browse/LUCENE-8254 > Project: Lucene - Core > Issue Type: Bug > Reporter: Alan Woodward > Priority: Major > Attachments: LUCENE-8254.patch > > > 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. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org