[SERVER-63650] Change Locker::isDbLockedForMode to take in DatabaseName Created: 15/Feb/22 Updated: 29/Oct/23 Resolved: 11/Jul/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.1.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Sophia Tan | Assignee: | Janna Golden |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Server Serverless 2022-07-11, Server Serverless 2022-07-25 | ||||||||
| Participants: | |||||||||
| Description |
|
Let's change Locker::isDbLockedForMode to take in DatabaseName as well. LockerImpl:isDbLockedForMode constructs the ResourceId and checks whether we're holding a lock on it, so we'll need to again pass DatabseName.toString() to the ResourceId constructor here. |
| Comments |
| Comment by Githook User [ 11/Jul/22 ] |
|
Author: {'name': 'jannaerin', 'email': 'golden.janna@gmail.com', 'username': 'jannaerin'}Message: |