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

Rename the 'wasGlobalLockTakenForWrite()' function in LockState

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Storage
    • Storage Execution

    Description

      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.

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: