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

CurOp::completeAndLogOperation waits on a ticket to acquire the GlobalLock

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0, 7.0.3
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v7.0, v6.0, v5.0, v4.4
    • Execution EMEA Team 2023-07-24

      CurOp::completeAndLogOperation() reacquires the GlobalLock, but operations must first wait for a ticket. This is problematic for visibility in an overloaded system. If there are no available tickets, slow operations won't be logged until the GlobalLock can be reacquired (a ticket is granted). 

      The priority should be set to kImmediate to bypass ticket acquisition.

            Assignee:
            haley.connelly@mongodb.com Haley Connelly
            Reporter:
            haley.connelly@mongodb.com Haley Connelly
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: