-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Catalog and Routing
If we can't find the requested resource, LockerImpl:unlock() returns false. However, there is a comment saying it is an invariant violation we try to release a lock not previously required.
Since the comment dates back to almost a decade ago, and is slightly misleading, we should probably remove it or reconsider if it is possible to guarantee we only unlock resources which have already been locked.
We should try to re-introduce the invariant that Locker::unlock must be called on a resource previously locked by the Locker instance.
- depends on
-
SERVER-77213 Move the all transactions-related state from OperationContext to TransactionResources
- Blocked