Include atClusterTime in cursor responses for snapshot reads

XMLWordPrintableJSON

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

      When a server receives a read command with read concern level "snapshot" outside of a transaction, it replies with a new field, atClusterTime, representing the timestamp of the read. This timestamp is guaranteed to be majority committed.

      {cursor: {..., atClusterTime: <Timestamp>}, ...}
      

      The reply has the same format if the request included afterClusterTime or not.

            Assignee:
            A. Jesse Jiryu Davis
            Reporter:
            Lingzhi Deng
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: