queues.execution.totalTimeQueuedMicros can differ from ticketWaitMillis

XMLWordPrintableJSON

    • Storage Execution
    • Fully Compatible
    • ALL
    • v8.0
    • Execution Team 2024-06-24, Execution Team 2024-07-08
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Both ticketWaitMillis and queues.execution.totalTimeQueuedMicros uses totalTimeQueuedMicros from the ExecutionAdmissionContext. However, ticketWaitMillis reports a value stored on the locker while queues.execution.totalTimeQueuedMicros reports directly from the admission context decorated on the opCtx.

      We should investigate why/how the value stored on the locker can differ from the admission context as SERVER-88732 switches to using the latter to calculate workingMillis and may alter the workingMillis reported.

              Assignee:
              Shin Yee Tan
              Reporter:
              Shin Yee Tan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: