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

Refactor ScopedBaseDDLLock to use a NamespaceString

    • Type: Icon: Task Task
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Service Arch
    • 2

      ScopedBaseDDLLock private constructor third parameter is called StringData resName which stands for Resource Name.

      This resource name is passed and stored under _resourceName which is then ONLY used to as a second parameter of lock and unlock of the _lockManager.

      For these two methods, the third parameter which accepts a StringData is marked as ns which makes me think this could accept a NamespaceString.
      It's then used in the DDLLockManager::_registerResourceName and passed to a DDLResourceName.

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            mathis.bessa@mongodb.com Mathis Bessa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: