-
Type:
Task
-
Resolution: Duplicate
-
Priority:
Major - P3
-
None
-
Affects Version/s: 3.7.1
-
Component/s: Sharding
-
None
-
Sharding
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
- 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