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

Allow shard to choose global read timestamp when first txn statement targets one shard

    • Sharding

      To establish a global snapshot for snapshot level read concern, mongos currently selects a cluster time when executing the first statement in a transaction then sends it to each targeted shard as anĀ atClusterTime read concern option and will send it to each new shard contacted by subsequent statements. This guarantees all targeted shards in the transaction read from the same timestamp.

      If the first statement targets only one shard, mongos can instead allow the shard to select a read timestamp itself as long as the shard returns to mongos which timestamp it read from, so mongos can store it and send it to all new shard participants that may be targeted by subsequent statements, if any.

            Assignee:
            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            Reporter:
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: