-
Type: Improvement
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
Replication
-
Fully Compatible
-
Repl 2023-02-20, Repl 2023-03-06
As part of SERVER-71198 we discovered that the locking performed in the class takes a MODE_X lock for the local database and then performs operation on a single collection without locking it.
Instead the process should take the collection lock via AutoGetCollection in the required mode to avoid unnecessary strong locks in the database.
- is duplicated by
-
SERVER-48399 Writing config document to "local.system.replset" should not acquire database lock in stronger mode (X).
- Closed
- related to
-
SERVER-71198 Assert that unkillable operations that take X collection locks do not hold the RSTL
- Backlog