lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christine Poerschke (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-6278) add admin/collections?action=DELETEREPLICA&core=... support, make collection=... and shard=... parameters optional
Date Mon, 29 Sep 2014 16:15:34 GMT

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

Christine Poerschke commented on SOLR-6278:
-------------------------------------------

Yes, the use of 

{{admin/cores?action=UNLOAD&deleteInstanceDir=true&core=eoe1_shard8_replica1}}

would work for us as equivalent of

{{admin/collections?action=DELETEREPLICA&core=eoe1_shard8_replica1}}

The latter would merely hide the action=UNLOAD&deleteInstanceDir=true implementation detail
but not exposing core names at collections API level also makes sense.

Our typical use case is to decommission all replicas under a given solr home or another way
to describe it would be everything living in a particular host/port solr instance. Collection
name, shard name, replica name, core name, they are strictly speaking unnecessary detail and
just a

{{host:port/solr/admin/something?action=DELETE_ALL_REPLICAS}}

could do the job or if one wanted to send admin commands not directly to the solr instance
being wiped out then a

{{host:port/solr/admin/something?action=DELETE_ALL_REPLICAS&host=...&port=...}}

So, in short, yes, a "won't fix" JIRA resolution would be fine for our use case.

> add admin/collections?action=DELETEREPLICA&core=... support, make collection=...
and shard=... parameters optional
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-6278
>                 URL: https://issues.apache.org/jira/browse/SOLR-6278
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Christine Poerschke
>            Assignee: Erick Erickson
>         Attachments: SOLR-6278.patch
>
>
> To add {{core=...}} as an alternative to {{replica=...}} way of identifying what is to
be deleted, {{collection=...}} and {{shard=...}} to be optional provided the other parameters
uniquely identify exactly one deletion target.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message