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

Report lock yield time (micros) with yield counts

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Concurrency, Diagnostics
    • None
    • Storage Execution
    • Fully Compatible

      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
      

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: