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

CurOp should use monotonic clock source for duration measurements

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.7.0
    • Component/s: None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Linked BF Score:
      16

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: