unit test the wall clock reset admin error

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 3.5.9
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2017-05-29, Sharding 2017-06-19
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The scenarios:
      1.

      • set wallclocks in the past more that 1 year (the value of maxAcceptableLogicalClockDrift)
      • a write should get through (no check for the past time) and establish a cluster time on the node to the time in the past
      • now every attempt to assign logical time to current should return an error (rate error) because (wallclock time - cluster time ) > maxAcceptableLogicalClockDrift
      • confirm that when the (wallclock time - cluster time ) <= maxAcceptableLogicalClockDrift it works , i.e. there are two options:

            Assignee:
            Jack Mulrow
            Reporter:
            Misha Tyulenev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: