[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to