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

CurOp should use monotonic clock source for duration measurements

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.7.0
    • None
    • None
    • Fully Compatible
    • ALL
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: