[SERVER-32612] Implement _configsvrMovePrimary Created: 09/Jan/18  Updated: 06/Dec/22  Resolved: 08/Feb/18

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

Type: Task Priority: Major - P3
Reporter: Randolph Tan Assignee: [DO NOT USE] Backlog - Sharding Team
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Sharding
Participants:

 Description   
  1. ScopedDistLock dbLock(dbName)
  2. If config.databases does not have an entry for the database, error
  3. If config.databases shows the target shard is already the primary, return OK
  4. Send a (new) ‘movePrimary’ command to the old primary


 Comments   
Comment by Esha Maharishi (Inactive) [ 08/Feb/18 ]

This was split into a few tickets in PM-1017, so closing as dupe.

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