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

Refactor ScopedBaseDDLLock to use a NamespaceString

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Service Arch
    • 2

    Description

      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.

      Attachments

        Activity

          People

            backlog-server-servicearch Backlog - Service Architecture
            mathis.bessa@mongodb.com Mathis Bessa
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: