-
Type:
Task
-
Resolution:
Duplicate
-
Priority:
Major - P3
-
None
-
Affects Version/s:
3.7.1
-
-
- Call the ‘clone’ command on the new primary
- sync collection options (ttl expiration requires special handling)
- sync indexes
- copy db.system.views
- Write the minOpTimeRecovery document and enter a critical section
- Send a (new) ‘commitMovePrimary’ command to the config server
- Invalidate cached database entry
- Involves infrastructural changes to add a “DatabaseMetadata” (equivalent to CollectionMetadata) on shards