The migrateFromStatus data structure is largely synchronized by the lock on the collection containing the chunk that is currently migrating. This implementation assumes that modifications of a collection exclusively lock that collection, which is no longer the case for document-level locking storage engines.
- duplicates
-
SERVER-16426 d_migrate getActive() mtx is very hot
- Closed
- related to
-
SERVER-16540 Potential race in migration can have an aborted migration consume MigrateStatus::_cloneLocs
- Closed