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

The MOVEREPLICA API ignores replica type and always adds 'nrt' replicas

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 8.3, 9.0
    • None
    • None

    Description

      MOVEREPLICA API in Solr creates NRT type replica in the target node always,
      no matter what type the source replica is. This leads to an inconsistent cluster state.

      MoveReplicaCmd

          ZkNodeProps addReplicasProps = new ZkNodeProps(
              COLLECTION_PROP, coll.getName(),
              SHARD_ID_PROP, slice.getName(),
              CoreAdminParams.NODE, targetNode,
              CoreAdminParams.NAME, newCoreName);
      

      Attachments

        1. SOLR-13843.patch
          9 kB
          Amrit Sarkar

        Issue Links

          Activity

            People

              shalin Shalin Shekhar Mangar
              sarkaramrit2@gmail.com Amrit Sarkar
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: