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

Cao Manh Dat commented on SOLR-10239:
-------------------------------------

[~shalinmangar] Right now, we add a new replica first then delete the old 
replica. In your case, how can we add a new replica first ( the index dir is 
currently locked by the old replica )?

> 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
>         Attachments: SOLR-10239.patch
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to