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

Rename the 'wasGlobalLockTakenForWrite()' function in LockState

    • Type: Icon: Improvement Improvement
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Storage
    • Storage Execution

      The name of this function could be improved as it is currently misleading.

      For example, I took a DBLock in MODE_IX and 'wasGlobalLockTakenForWrite()' returned true, and I thought to myself that I never took a GlobalLock in MODE_X.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: