-
Type: Task
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Sharding
-
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.
- is depended on by
-
SERVER-47952 If a snapshot read targets one shard, let the shard choose the timestamp
- Closed