Versions Compared

Key

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

...

      cache.put (k5, v5);

      tx2.commit();

}

To deeper understand counter flow it is necessary to explain how ditributed transactions are working.

2PC

Transactions use two-phase-commit protocol to consistently update all participating nodes.

...