-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Execution EMEA Team 2023-06-26, Execution EMEA Team 2023-07-10
In order to implement proper getMore functionality with the Shard Role API we need to modify ScopedCollectionAcquisition to be a smart pointer.
Right now the class is already "smart pointer"-like, but lacks the reference counting logic. This means that it automatically removes the acquisition once it goes out of scope, but this makes implementing getMore impossible since the scope is not preserved anywhere.
- is depended on by
-
SERVER-74030 Consider a better way to express recursive locking of DBLock in CollectionSnapshots API
- Closed