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

ASF subversion and git services commented on SOLR-10879:
--------------------------------------------------------

Commit 0324da8289e148d627b9a45c3105bab6ed7573e6 in lucene-solr's branch 
refs/heads/branch_7_0 from [~ab]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=0324da8 ]

SOLR-10879: Make sure we don't lose single replicas when deleting a node.


> DELETEREPLICA and DELETENODE commands should prevent data loss when 
> replicationFactor==1
> ----------------------------------------------------------------------------------------
>
>                 Key: SOLR-10879
>                 URL: https://issues.apache.org/jira/browse/SOLR-10879
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: 6.6, 7.0, 6.7
>            Reporter: Andrzej Bialecki 
>            Assignee: Andrzej Bialecki 
>
> There should be some level of protection against inadvertent data loss when 
> issuing these commands when replicationFactor is 1 - deleting a node or a 
> replica in this case will be equivalent to completely deleting some shards.
> This is further complicated by the replica types - there could be still 
> remaining replicas after the operation, but if they are all of PULL type then 
> none of them will ever become a shard leader.
> We could require that  the command should fail in such case unless a boolean 
> option "force==true" is specified.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to