You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Yonik Seeley (JIRA)" <ji...@apache.org> on 2013/06/25 20:01:23 UTC

[jira] [Commented] (SOLR-4960) race condition in CoreContainer.shutdown leads to double closes on cores

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

Yonik Seeley commented on SOLR-4960:
------------------------------------

There's also a race condition in getCore itself (there's no synchronization between the core lookup and incrementing the ref count, so we could hand out a closing/closed core.  Looks like it was introduced by SOLR-4196 as well.
I'll just use this issue to fix this bug also.
                
> race condition in CoreContainer.shutdown leads to double closes on cores
> ------------------------------------------------------------------------
>
>                 Key: SOLR-4960
>                 URL: https://issues.apache.org/jira/browse/SOLR-4960
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.3
>            Reporter: Yonik Seeley
>            Assignee: Yonik Seeley
>             Fix For: 4.4
>
>         Attachments: SOLR-4960.patch
>
>
> CoreContainer.shutdown has a race condition that can lead to a closed (or closing) core being handed out to an incoming request.  This can further lead to SolrCore.close() logic being executed again when the request is finished.
> This bug was introduced in SOLR-4196 r1451797

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org