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

Account for rounding errors when calculating workingMillis

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Storage Execution
    • Fully Compatible
    • Execution Team 2024-03-04, Execution Team 2024-03-18, Execution Team 2024-04-01

      We lose precision when converting curOp execution time from ticks to milliseconds and converting waiting for locks and tickets from microseconds to milliseconds. This rounding error could result in curop time blocked being greater than the execution time. We can probably allow an error of 1ms and report 0ms in that case.

            Assignee:
            shinyee.tan@mongodb.com Shin Yee Tan
            Reporter:
            shinyee.tan@mongodb.com Shin Yee Tan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: