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

Rename Lock::DBLock to Lock::GlobalAndDBLock

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • 1

      It is quite confusing and a bit of a cognitive load that Lock::CollectionLock only acquires the collection lock, but Lock::DBLock acquires both the global and db locks. This ticket is to blanket-rename Lock::DBLock to Lock::GlobalAndDBLock throughout the codebase in order to make this more obvious.

            Assignee:
            Unassigned Unassigned
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: