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

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

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

      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.gomezferro@mongodb.com Daniel Gomez Ferro
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: