You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alan Woodward (JIRA)" <ji...@apache.org> on 2014/07/08 20:30:04 UTC
[jira] [Updated] (SOLR-6232) Allow cores that have failed to init
to be deleted via CoreAdminHandler
[ https://issues.apache.org/jira/browse/SOLR-6232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Woodward updated SOLR-6232:
--------------------------------
Attachment: SOLR-6232.patch
Patch.
* Extends the coreInitFailures map to hold CoreDescriptors as well as Exceptions
* CoreContainer.remove() is replaced by CoreContainer.unload(), which checks the coreInitFailures map first to see if the core has failed to load, and deals with that
* The actual logic for removing files, etc, is moved into SolrCore. CoreAdminHandler just parses parameters and passes them on to CoreContainer.unload()
> Allow cores that have failed to init to be deleted via CoreAdminHandler
> -----------------------------------------------------------------------
>
> Key: SOLR-6232
> URL: https://issues.apache.org/jira/browse/SOLR-6232
> Project: Solr
> Issue Type: Improvement
> Reporter: Alan Woodward
> Assignee: Alan Woodward
> Priority: Minor
> Attachments: SOLR-6232.patch
>
>
> If a core fails to init due to index corruption or something similar, it can't currently be removed with an UNLOAD command, you have to go do it manually.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org