Change DBLock to use DatabaseName

XMLWordPrintableJSON

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

      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.

            Assignee:
            Janna Golden (Inactive)
            Reporter:
            Janna Golden (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: