-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Server Serverless 2022-06-27, Server Serverless 2022-07-11
Currently, DBLock takes in a dbName as a string, and then passes the to the ResourceId constructor, which takes the hash of the string. We should change the DBLock constructor to take in DatabaseName, but should still pass a string to the ResourceId constructor. ResourceId computes a hash of the string it is passed, and this is what we actually take the lock on.
- depends on
-
SERVER-63650 Change Locker::isDbLockedForMode to take in DatabaseName
- Closed
-
SERVER-63698 Change DBLock constructor to take in DatabaseName
- Closed
- is depended on by
-
SERVER-62923 Change DB lock RAII types to use DatabaseName
- Closed
- is duplicated by
-
SERVER-63698 Change DBLock constructor to take in DatabaseName
- Closed