Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-6197

The migrate collection API fails with legacyMode=false

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.8.1, 4.9
    • Fix Version/s: 4.10, 6.0
    • Component/s: SolrCloud
    • Labels:
      None

      Description

      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:

      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

        Attachments

        1. SOLR-6197.patch
          4 kB
          Shalin Shekhar Mangar

          Activity

            People

            • Assignee:
              shalinmangar Shalin Shekhar Mangar
              Reporter:
              shalinmangar Shalin Shekhar Mangar
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: