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

[jira] [Updated] (SOLR-13843) The MOVEREPLICA API ignores replica type and always adds 'nrt' replicas

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

Cassandra Targett updated SOLR-13843:
-------------------------------------
    Fix Version/s:     (was: 8.3.0)

> The MOVEREPLICA API ignores replica type and always adds 'nrt' replicas
> -----------------------------------------------------------------------
>
>                 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
>            Assignee: Shalin Shekhar Mangar
>            Priority: Major
>             Fix For: master (9.0), 8.3
>
>         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