You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Anshum Gupta (JIRA)" <ji...@apache.org> on 2013/04/15 11:40:15 UTC

[jira] [Commented] (SOLR-4693) Create a collections API to delete/cleanup a Slice

    [ https://issues.apache.org/jira/browse/SOLR-4693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13631608#comment-13631608 ] 

Anshum Gupta commented on SOLR-4693:
------------------------------------

Also, here's how the API call looks like:
http://<host>/solr/admin/collections?action=DELETESHARD&shard=<shard_name>&name=<collection_name>

This only allows for deletion of inactive slices to maintain integrity.
Have added a todo to perhaps allow deletion of active slices as long as the HashRange for that slice is serviced by another active slice.
                
> Create a collections API to delete/cleanup a Slice
> --------------------------------------------------
>
>                 Key: SOLR-4693
>                 URL: https://issues.apache.org/jira/browse/SOLR-4693
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>            Reporter: Anshum Gupta
>         Attachments: SOLR-4693.patch
>
>
> Have a collections API that cleans up a given shard.
> Among other places, this would be useful post the shard split call to manage the parent/original slice.

--
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org