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

The migrate collection API fails with legacyMode=false

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.8.1, 4.9
    • 4.10, 6.0
    • SolrCloud
    • 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

            shalin Shalin Shekhar Mangar
            shalin Shalin Shekhar Mangar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: