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

Report lock yield time (micros) with yield counts

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Concurrency, Diagnostics
    • None
    • Storage Execution
    • Fully Compatible

    Description

      Currently we report "numYields" or "yields" in various places but we don't report the time spent yielding.

      I see this mostly surfacing in lockstats, like those reported via profiling and logging:

      // Log entry
      20... query test.jstests_orm query: {} ... numYields:1 locks(micros) r:282288 y:101 nreturned:0 reslen:20 141ms

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: