Versions Compared

Key

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

The document describes principles used for achieving consistency between data copies.

First let's give several definitions.

Cluster topology

Cluster topology is a ordered set of client and server nodes at a certain point in time. Each stable topology is assigned a topology version number - monotonically increasing pair of counters (majorVer, minorVer). Each node maintains a list of nodes in the topology and it is the same on all nodes for given version. It is important to note that each node receives information about the topology change eventulally, that is, independently of the other node at the different time.

...

At different points in time a partition can belong to different nodes. This , therefore this is a dynamic property of a partition.

...

The flow is closely bound to transactions protocol. Counters are modified during stages of 2PC of two-phase commit (2PC) protocol used by Ignite to ensure distributed consistency.

In short, 2PC protocol consists of lock, prepare and commit phases.

...