You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/10/18 09:23:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16954422#comment-16954422 ] 

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

Commit ab65f34686c117110bc392fe5b71e5257a27a4aa in lucene-solr's branch refs/heads/branch_8x from Shalin Shekhar Mangar
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=ab65f34 ]

SOLR-13843: The MOVEREPLICA API ignores replica type and always adds 'nrt' replicas

(cherry picked from commit 86a40c1cd5691ce8c9c233c9a8186a4f50aa4f5f)


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