-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
Cluster Scalability
-
Fully Compatible
If the router sees all the read-only shards have already committed their read Timestamp (by monitoring their last committed OpTimes through their ReplicaSetMonitors), the router could send commitTransaction to the read-only shards in parallel with sending commitTransaction to the write-shard, and only wait for the write-shard's response before returning the outcome to the client.