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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.3, main (9.0)
    • Component/s: None
    • Labels:
      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

        Issue Links

          Activity

            People

            • Assignee:
              shalin Shalin Shekhar Mangar
              Reporter:
              sarkaramrit2@gmail.com Amrit Sarkar

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment