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

Erick Erickson updated SOLR-6482:
---------------------------------
    Attachment: SOLR-6482.patch

Patch with a test as well, the test shamelessly piggy-backed on an existing 
test....

This may be ready to commit, all tests pass, but I'd like to give people a 
chance to comment.

> Add an onlyIfDown flag for DELETEREPLICA collections API command
> ----------------------------------------------------------------
>
>                 Key: SOLR-6482
>                 URL: https://issues.apache.org/jira/browse/SOLR-6482
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>    Affects Versions: 5.0, 4.11
>            Reporter: Erick Erickson
>            Assignee: Erick Erickson
>            Priority: Minor
>         Attachments: SOLR-6482.patch, SOLR-6482.patch
>
>
> Having the DELETEREPLICA delete the index is scary for some situations, 
> especially ones in which the operations people are taking more explicit 
> control of the topology of their cluster. As we move towards ZK being the 
> "one source of truth" and deleting replicas that then come back up, this is 
> even scarier.
> I propose to have an optional flag onlyIfDown that remove the replica from 
> the ZK cluster state if (and only if) the node was offline. Default value: 
> false.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to