[
https://issues.apache.org/jira/browse/SOLR-4960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yonik Seeley updated SOLR-4960:
-------------------------------
Attachment: SOLR-4960_getCore.patch
Here's a patch to fix the race in CoreContainer.getCore()
I changed the signature of SolrCores.getCoreFromAnyList to accept a boolean to
increment the reference count and only fixed getCore to use it. There may
still be other races due to the transient core feature.
> 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_getCore.patch, 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]