Tiziano Degaetano created SOLR-14431:
----------------------------------------

             Summary: SegmentsInfoRequestHandler.java does not release 
IndexWriter
                 Key: SOLR-14431
                 URL: https://issues.apache.org/jira/browse/SOLR-14431
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: Admin UI
    Affects Versions: 8.5.1, 8.1.1
            Reporter: Tiziano Degaetano


If withCoreInfo is false iwRef.decref() will not
be called to release the reader lock, preventing any further writer locks.
https://github.com/apache/lucene-solr/blob/3a743ea953f0ecfc35fc7b198f68d142ce99d789/solr/core/src/java/org/apache/solr/handler/admin/SegmentsInfoRequestHandler.java#L144

Line 130 should be moved inside the if statement L144.

[~ab] FYI



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to