You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Noble Paul (JIRA)" <ji...@apache.org> on 2013/10/29 12:28:31 UTC

[jira] [Resolved] (SOLR-5310) Add a collection admin command to remove a replica

     [ https://issues.apache.org/jira/browse/SOLR-5310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Noble Paul resolved SOLR-5310.
------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0
                   4.6

> Add a collection admin command to remove a replica
> --------------------------------------------------
>
>                 Key: SOLR-5310
>                 URL: https://issues.apache.org/jira/browse/SOLR-5310
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>             Fix For: 4.6, 5.0
>
>         Attachments: SOLR-5310.patch, SOLR-5310.patch
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> the only way a replica can removed is by unloading the core .There is no way to remove a replica that is down . So, the clusterstate will have unreferenced nodes if a few nodes go down over time
> We need a cluster admin command to clean that up
> e.g: 
> /admin/collections?action=DELETEREPLICA&collection=coll1&shard=shard1&replica=core_node3
> The system would first see if the replica is active. If yes , a core UNLOAD command is fired , which would take care of deleting the replica from the clusterstate as well
> if the state is inactive, then the core or node may be down , in that case the entry is removed from cluster state  



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org