Report lock yield time (micros) with yield counts

XMLWordPrintableJSON

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

      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:
            [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: