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

Attach DiagnosticInfo on long mongo::ConditionVariable::wait()

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.1
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Service Arch 2019-08-26
    • 0

    Description

      We should modify ConditionVariable::wait() (and sibling functions) to attach a DiagnosticInfo to Client similar to how we modified Mutex::lock() for contended locking after 100ms. This will allow us to identify Condvars where they are able to acquire the underlying lock but their condition is not satisfied.

      Attachments

        Activity

          People

            rahul.sundararaman@mongodb.com Rahul Sundararaman (Inactive)
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: