PrepareConflictTracker shouldn't assume TickSource is monotonically increasing

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2022-02-21
    • 160
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      In PrepareConflictTracker we assume TickSource is monotonically increasing and invariant when the clock goes back in time: https://github.com/mongodb/mongo/blob/c7bfbfeefcce9c73997e61d19c5efd7d57cf8971/src/mongo/db/prepare_conflict_tracker.cpp#L52-L62

      In some platforms (MacOS) the clock is not monotonically increasing, we shouldn't rely on that.

            Assignee:
            Daniel Gomez Ferro
            Reporter:
            Daniel Gomez Ferro
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: