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

Include atClusterTime in cursor responses for snapshot reads

    • 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

      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:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            lingzhi.deng@mongodb.com Lingzhi Deng
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: