[ 
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

Here's a first cut at the patch, still need to add tests but this seems to work 
when I tested it manually.

Its pretty simple all told, it seems like it shouldn't interfere with the "ZK 
as truth" model.

> 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
>
>
> 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