-
Type: Task
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.7.1
-
Component/s: Sharding
-
Labels:None
-
Sharding
- ScopedDistLock dbLock(dbName)
- If config.databases does not have an entry for the database, error
- If config.databases shows the target shard is already the primary, return OK
- Send a (new) ‘movePrimary’ command to the old primary