The IndexBuildsCoordinator, which builds background indexes on secondaries, still takes a Database X lock, despite changes made on primaries to take a Collection X lock.
Secondaries should take the same locks as primaries, which could otherwise lead to unexpected deadlocks.
- is related to
-
SERVER-39715 Do not drop index build temp tables on clean shutdown
- Closed
-
SERVER-39517 Only use Collection MODE_X for index creation and drop
- Closed
- related to
-
SERVER-41014 runCreateIndexesWithCoordinator does not correctly relock the database
- Closed
-
SERVER-42015 hybrid_index_with_updates.js hangs when IndexBuildsCoordinator is enabled
- Closed