[
https://issues.apache.org/jira/browse/SOLR-6197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shalin Shekhar Mangar resolved SOLR-6197.
-----------------------------------------
Resolution: Fixed
> The migrate collection API fails with legacyMode=false
> ------------------------------------------------------
>
> Key: SOLR-6197
> URL: https://issues.apache.org/jira/browse/SOLR-6197
> Project: Solr
> Issue Type: Bug
> Components: SolrCloud
> Affects Versions: 4.8.1, 4.9
> Reporter: Shalin Shekhar Mangar
> Assignee: Shalin Shekhar Mangar
> Fix For: 5.0, 4.10
>
> Attachments: SOLR-6197.patch
>
>
> The migrate collection API fails trying to create a replica of the temp
> collection. It should use the addreplica API instead of core admin create.
> Relevant error from the API response:
> {quote}
> org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException:Error
> CREATEing SolrCore 'split_shard1_0_0_temp_shard1_shard1_replica2': non legacy
> mode coreNodeName missing
> shard=shard1&name=split_shard1_0_0_temp_shard1_shard1_replica2&action=CREATE&collection=split_shard1_0_0_temp_shard1&wt=javabin&qt=/admin/cores&version=2
> {quote}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]