Details
-
Task
-
Resolution: Duplicate
-
Major - P3
-
None
-
3.7.1
-
None
-
Sharding
Description
- 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