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

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

    XMLWordPrintableJSON

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: