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

account for system clock drift when calculating time since last ismaster check

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4.0-rc10, 4.7.0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.4
    • Sprint:
      Sharding 2020-06-15
    • Linked BF Score:
      7

      Description

      Time delta returned from _timeSinceLastCheck can return negative value if system clock doesn't return monotonic values.

      If this occurs return timeSinceLastCheck = 0 to be conservative.

        Attachments

          Activity

            People

            Assignee:
            lamont.nelson Lamont Nelson
            Reporter:
            lamont.nelson Lamont Nelson
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: