Make sync7.js less sensitive to delays

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 2.6.0-rc3
    • Affects Version/s: 2.6.0-rc2
    • Component/s: Testing Infrastructure
    • None
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

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

              Created:
              Updated:
              Resolved: