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

queues.execution.totalTimeQueuedMicros can differ from ticketWaitMillis

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc11
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • ALL
    • v8.0
    • Execution Team 2024-06-24, Execution Team 2024-07-08

      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:
            shinyee.tan@mongodb.com Shin Yee Tan
            Reporter:
            shinyee.tan@mongodb.com Shin Yee Tan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: