-
Type: New Feature
-
Resolution: Won't Do
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Storage Execution
When there is a mutex, we have methods that contain mymethodname(….m WithLock) to enforce a lock is taken.
It would be cool to have a Wrapper similar to WithLock that works with AutoGetCollection and forces callers to be holding AutoGetCollection with a certain level of lock before calling the function.
- is duplicated by
-
SERVER-68942 Use type-checking to ensure correct DB locks are held
- Open