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

when time (ticks) go backwards Timer overflows

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL

      Description

      ... which can be a problem on VMs. This leads to huge values being reported in seconds/millis/minutes when the unsigned micros() value gets converted to signed integer values.

      Potential solution - signed ticks?

      We should also warn the user when this is potentially detected now() - old > 1/2 the range.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                greg_10gen Greg Studer
                Reporter:
                greg_10gen Greg Studer
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: