[
https://issues.apache.org/jira/browse/SOLR-4749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13638164#comment-13638164
]
Yonik Seeley commented on SOLR-4749:
------------------------------------
One issue I noticed after a quick glance is a race introduced into
CoreContainer by some of the recent changes.
The getCore() code now increments the reference count (core.open()) outside of
the sync block, which means it could be closed in the meantime.
{code}
SolrCore core = coreMaps.getCoreFromAnyList(name);
if (core != null) {
core.open();
return core;
}
{code}
> Refactor the new solr.xml and core discovery code.
> --------------------------------------------------
>
> Key: SOLR-4749
> URL: https://issues.apache.org/jira/browse/SOLR-4749
> Project: Solr
> Issue Type: Improvement
> Reporter: Mark Miller
> Assignee: Mark Miller
> Fix For: 5.0, 4.4
>
>
> I think we can clean up a variety of things in the latest code.
--
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]