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/17 13:25:00 UTC

[jira] [Comment Edited] (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:comment-tabpanel&focusedCommentId=16951171#comment-16951171 ] 

Amrit Sarkar edited comment on SOLR-13843 at 10/17/19 1:24 PM:
---------------------------------------------------------------

Thanks [~ctargett], I should have look for existing jiras before creating a new one. We can safely close either one as duplicate and patch is ready to serve the fix for the problem.


was (Author: sarkaramrit2@gmail.com):
Thanks [~ctargett], I should have look for existing jiras before creating a new one. We can safely close either one as duplicagte and patch is ready to serve the fix for the problem.

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