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:55:00 UTC

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

Amrit Sarkar created SOLR-13843:
-----------------------------------

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


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