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

Make sync7.js less sensitive to delays

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.6.0-rc2
    • Fix Version/s: 2.6.0-rc3
    • Component/s: Testing Infrastructure
    • Labels:
      None
    • Linked BF Score:
      0

      Description

      The distributed lock uses the localTime field of the serverStatus command to compare the clock skew between the local time and the remote time. It also take into account the amount of time for the command to execute (delay) and subtracts it from the raw delta.

      If the delay was big enough in the test, it can lower the average skew such that it will be within the 30 sec skew tolerance, making the test fail because it expects the movePrimary to fail because of skewed clocks.

        Attachments

          Activity

            People

            Assignee:
            renctan Randolph Tan
            Reporter:
            renctan Randolph Tan
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: