Restrict Cross-Shard Atomic Commit Path to Only Modified Shards #18054
Labels
Component: Query Serving
Type: Enhancement
Logical improvement (somewhere between a bug and feature)
Milestone
Uh oh!
There was an error while loading. Please reload this page.
Description
Currently, VTGate tracks per-shard transaction state in the session to identify if DMLs modified any underlying database. However, during cross-shard transactions, all participating shards (including read-only ones) are part of the atomic commit path.
This task involves:
Impact
By restricting the atomic commit path to modified shards only, this change will:
Related
The text was updated successfully, but these errors were encountered: