Nodes A, B, and C fully in the cluster
Local state before (1): {:pairs {:a :b, :b :c, :c :a}}
D wants to join
D sends prepare-join-cluster (1)
A, B, C, and D play the log
D encounters (1)
{:pairs {:a :b, :b :c, :c :a}}{:pairs {:a :b, :b :c, :c :a} :prepared {:d :a}}notify-join-cluster (2)A, B, C encounter (1)
{:pairs {:a :b, :b :c, :c :a}}{:pairs {:a :b, :b :c, :c :a} :prepared {:d :a}}A, B encounter (2):
{:pairs {:a :b, :b :c, :c :a} :prepared {:d :a}}{:pairs {:a :b, :b :c, :c :a} :accepted {:d :a}C encounters (2):
{:pairs {:a :b, :b :c, :c :a} :prepared {:d :a}}{:pairs {:a :b, :b :c, :c :a} :accepted {:d :a}abort-join-cluster (3)A, B, C encounter (3):
{:pairs {:a :b, :b :c, :c :a} :accepted {:d :a}{:pairs {:a :b, :b :c, :c :a}Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |