Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-33195

create a movePrimary command for shards and _configsvrCommitMovePrimary command for config servers

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.3
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Fully Compatible
    • Sharding 2018-02-12, Sharding 2018-02-26

      This ticket is just to add the files for the new commands and compile them in, not to implement any functionality inside their run().

      The new movePrimary commands (blue) should mirror the moveChunk commands:

      moveChunk movePrimary
      cluster_move_chunk_cmd.cpp cluster_move_primary_cmd.cpp
      configsvr_move_chunk_command.cpp configsvr_move_primary_command.cpp
      move_chunk_command.cpp move_primary_command.cpp
      configsvr_commit_chunk_migration_command.cpp configsvr_commit_move_primary_command.cpp

      Specifically, the movePrimary files should

      • be in the same directories
      • be compiled into the same libraries

      as the analogous moveChunk ones.

            Assignee:
            blake.oler@mongodb.com Blake Oler
            Reporter:
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: