You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/05/04 12:59:00 UTC

[jira] [Commented] (SOLR-14431) SegmentsInfoRequestHandler.java does not release IndexWriter

    [ https://issues.apache.org/jira/browse/SOLR-14431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17098901#comment-17098901 ] 

ASF subversion and git services commented on SOLR-14431:
--------------------------------------------------------

Commit 96a8c6a91c050b4db3c0f39ba68a55db4936f348 in lucene-solr's branch refs/heads/branch_8x from Andrzej Bialecki
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=96a8c6a ]

SOLR-14431: SegmentsInfoRequestHandler does not release IndexWriter.


> 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.1.1, 8.5.1
>            Reporter: Tiziano Degaetano
>            Assignee: Andrzej Bialecki
>            Priority: Minor
>             Fix For: 8.6
>
>
> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org