[
https://issues.apache.org/jira/browse/SOLR-6197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14043376#comment-14043376
]
ASF subversion and git services commented on SOLR-6197:
-------------------------------------------------------
Commit 1605366 from [email protected] in branch 'dev/branches/branch_4x'
[ https://svn.apache.org/r1605366 ]
SOLR-6197: The MIGRATE collection API doesn't work when legacyCloud=false is
set in cluster properties
> 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]