[ https://issues.apache.org/jira/browse/SOLR-10239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15956872#comment-15956872 ]
Shalin Shekhar Mangar commented on SOLR-10239: ---------------------------------------------- I have only skimmed the patch without running it. Overall, it looks fine. Just that there is no need to ask the replica for its data dir using core admin API -- in case of shared storage, the data and ulog directories are stored in cluster state itself -- see SOLR-8913. > 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, 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org