[ 
https://issues.apache.org/jira/browse/SOLR-10239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15950799#comment-15950799
 ] 

Ishan Chattopadhyaya commented on SOLR-10239:
---------------------------------------------

bq. Noble Paul In case of #2, you mean we will randomly pickup a replica from 
fromNode and move to targetNode?

In a node, there will be only one replica for a particular shard. Is this not a 
correct understanding? If so, and given collection and shard is provided, why 
do we need to pick a replica on random?

> MOVEREPLICA API
> ---------------
>
>                 Key: SOLR-10239
>                 URL: https://issues.apache.org/jira/browse/SOLR-10239
>             Project: Solr
>          Issue Type: Sub-task
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Ishan Chattopadhyaya
>            Assignee: Cao Manh Dat
>
> To move a replica from a node to another node, there should be an API 
> command. This should be better than having to do ADDREPLICA and DELETEREPLICA.
> The API will like this
> {code}
> /admin/collections?action=MOVEREPLICA&collection=collection&shard=shard&replica=replica&node=nodeName&toNode=nodeName
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to