You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Amrit Sarkar (Jira)" <ji...@apache.org> on 2019/10/14 10:59:00 UTC

[jira] [Updated] (SOLR-13843) MOVEREPLICA API in Solr doesn't respect Replica Type.

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

Amrit Sarkar updated SOLR-13843:
--------------------------------
    Attachment: SOLR-13843.patch

> MOVEREPLICA API in Solr doesn't respect Replica Type.
> -----------------------------------------------------
>
>                 Key: SOLR-13843
>                 URL: https://issues.apache.org/jira/browse/SOLR-13843
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Amrit Sarkar
>            Priority: Major
>         Attachments: SOLR-13843.patch
>
>
> MOVEREPLICA API in Solr creates NRT type replica in the target node always, 
> no matter what type the source replica is. This leads to an inconsistent cluster state.
> MoveReplicaCmd
> {code}
>     ZkNodeProps addReplicasProps = new ZkNodeProps(
>         COLLECTION_PROP, coll.getName(),
>         SHARD_ID_PROP, slice.getName(),
>         CoreAdminParams.NODE, targetNode,
>         CoreAdminParams.NAME, newCoreName);
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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