[SERVER-33195] create a movePrimary command for shards and _configsvrCommitMovePrimary command for config servers Created: 08/Feb/18  Updated: 29/Oct/23  Resolved: 21/Feb/18

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 3.7.3

Type: Task Priority: Major - P3
Reporter: Esha Maharishi (Inactive) Assignee: Blake Oler
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding 2018-02-12, Sharding 2018-02-26
Participants:

 Description   

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.



 Comments   
Comment by Githook User [ 21/Feb/18 ]

Author:

{'email': 'blake.oler@mongodb.com', 'name': 'Blake Oler', 'username': 'BlakeIsBlake'}

Message: SERVER-33195 create a movePrimary command for shards and _configsvrCommitMovePrimary command for config servers
Branch: master
https://github.com/mongodb/mongo/commit/e126c24bdc87b79fb98905625c8c1c5b424679e6

Generated at Thu Feb 08 04:32:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.