-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Storage
-
Fully Compatible
-
v4.2
-
Execution Team 2019-07-01
-
5
In SERVER-39902, the lock managers ResourceId class started using the UUIDCatalog to resolve its namespace when calling the toString() function. However, views do not get tracked in the UUIDCatalog and they cannot resolve their namespaces as a consequence. We should make it so that we can also resolve view namespaces in the ResourceId class.
One way we could do this is by extending the functionality of ViewCatalog::lookup() function to take in ResourceId's and return the relevant namespace, if it exists. We would also require a similar way to keep track of ResourceIds -> NamespaceStrings, like in the UUIDCatalog.
- is related to
-
SERVER-39985 Improve transaction lock failure error message
- Closed
- related to
-
SERVER-39902 lockInfo should use UUIDCatalog to map resourceIds to collection names
- Closed
-
SERVER-43910 include Client/OpCtx information in LockManager::dump() output
- Closed