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

Use same clock for test and working code in session_test [v4.0]

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 4.0.15
    • Fix Version/s: 4.0.16
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Repl 2020-01-27, Repl 2020-02-10
    • Linked BF Score:
      0

      Description

      This was fixed in 4.2 by SERVER-36697, but that would be difficult to backport (and would affect more than just test code). Instead, in 4.0, we can use the real precision clock source instead of Date_t::now() for comparison purposes.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              matthew.russotto Matthew Russotto
              Reporter:
              matthew.russotto Matthew Russotto
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: