Majority reads must round their read timestamp up to the oldest timestamp

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.3.0
    • 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

      SERVER-55030 reduced the critical section of a mutex that prevented the oldest_timestamp from advancing past the majority-commit point when starting new reads with the kMajorityCommited ReadSource (i.e. readConcern: majority).

      There is a race now where the oldest timestamp can advance past the majority commit point before the read timestamp is set, resulting in a fassert.

      We should use the "roundup_timestamps=(read=true)" configuration when starting these transactions and then return the actual read timestamp by querying WT.

            Assignee:
            Daniel Gomez Ferro
            Reporter:
            Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: