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

Snapshot reads without atClusterTime should read from majority committed snapshot

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • Repl 2020-05-04

      For snapshot reads without “atClusterTime”, set timestamp readSource to the timestamp of the current majority committed snapshot.
      Similar to WiredTigerRecoveryUnit::obtainMajorityCommittedSnapshot and getMinSnapshotForNextCommittedRead, we need to select a majority committed snapshot to read at and then setTimestampReadSource to kProvided with the selected timestamp.

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            lingzhi.deng@mongodb.com Lingzhi Deng
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: