Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-63650

Change Locker::isDbLockedForMode to take in DatabaseName

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Server Serverless 2022-07-11, Server Serverless 2022-07-25

      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.

            Assignee:
            janna.golden@mongodb.com Janna Golden
            Reporter:
            sophia.tan@mongodb.com Sophia Tan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: