[
https://issues.apache.org/jira/browse/SOLR-5011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Smiley updated SOLR-5011:
-------------------------------
Fix Version/s: (was: 4.7)
4.8
> 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: 4.8
>
>
> 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 was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]