Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Commit Protocol Changes

Commit

 

  1. Wen a tx is started a new version is assighned and MVCC coordinator adds a local  TxLog record with XID and ACTIVE flag
  2. the first change request to a datanode within the transaction produces a local TxLog record with XID and ACTIVE flag at the data node.
  3. at the commit stage each tx node adds a local TxLog record with XID and LOCALLY_COMMITTED flag and sends an acknowledge to TX coordinator
  4. TX coordinator sends to MVCC coordinator node a tx committed message.
  5. MVCC coordinator adds TxLog record with XID and COMMITTED flag, all the changes become visible.
  6. TX coordinator sends to participants a commit acknowledged message, nodes asyncronously mark tx as COMMITTED.

...