[
https://issues.apache.org/jira/browse/SOLR-5011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Uwe Schindler updated SOLR-5011:
--------------------------------
Component/s: multicore
Fix Version/s: 4.4
5.0
> Manage to close all ResourceLoaders when cores are unloaded/reloaded
> --------------------------------------------------------------------
>
> Key: SOLR-5011
> URL: https://issues.apache.org/jira/browse/SOLR-5011
> Project: Solr
> Issue Type: Bug
> Components: multicore
> Reporter: Uwe Schindler
> Fix For: 5.0, 4.4
>
>
> Followup of SOLR-5009 and SOLR-4948: I fixed almost all places where Solr
> creates SolrResourceLoaders lazily. Solr should only create a
> SolrResourceLoader when the CoreContainer starts up and when a new Core is
> created (as a child SolrResourceLoader). There are already issues open to fix
> the hierarchy, but this issue is about corrcetly closing the
> SolrResourceLoader, as this is mandatory for correct class unloading and
> freeing up system resources, including closing JAR files (to be able to
> delete them on windows).
> SolrCore currently does not close its own SolrResourceLoader and the logic
> for reopening is un-understandable to me. In addition the SolrResourceLoader
> is shared by the config and the core and sometimes also the reopened core. I
> have no idea when it can be closed safely.
--
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]