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

CurOp should use monotonic clock source for duration measurements

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • ALL
    • 16

      In several spots, curOp uses curTimeMicros64 which delegates to gettimeofday() on linux. This is not guaranteed to be monotonically increasing and can lead to incorrect reporting for metrics.

            Assignee:
            james.wahlin@mongodb.com James Wahlin
            Reporter:
            nicholas.zolnierz@mongodb.com Nicholas Zolnierz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: