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

when time (ticks) go backwards Timer overflows

    XMLWordPrintable

Details

    • Fully Compatible
    • 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

              greg_10gen Greg Studer
              greg_10gen Greg Studer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: