-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Sharding EMEA
-
Fully Compatible
-
Sharding EMEA 2023-02-20
When acquiring more than one collection in a sigle acquisition. recursively locking the dbLock (thus the global lock too) would prevent yielding. The existing AutoGetCollection takes care of this by only locking the dbLock once. CollectionSnapshot should follow a similar approach.
- depends on
-
SERVER-69445 Implement the CollectionSnapshot(s) infrastructure to back CollectionPtr
- Closed
- is related to
-
SERVER-74030 Consider a better way to express recursive locking of DBLock in CollectionSnapshots API
- Closed