[
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: [email protected]
For additional commands, e-mail: [email protected]