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}}
leave-cluster
(2) for C.notify-join-cluster
(3)A, B, C encounters (1)
{:pairs {:a :b, :b :c, :c :a}}
{:pairs {:a :b, :b :c, :c :a} :prepared {:d :a}}
A, C encounter (2):
{:pairs {:a :b, :b :c, :c :a} :prepared {:d :a}}
{:pairs {:a :b, :b :a}}
B encounters (2):
{:pairs {:a :b, :b :c, :c :a} :prepared {:d :a}}
{:pairs {:a :b, :b :a}}
D encounters (2):
{:pairs {:a :b, :b :c, :c :a} :prepared {:d :a}}
{:pairs {:a :b, :b :a}}
A, B, C encounter (3):
{:pairs {:a :b, :b :a}}
{:pairs {:a :b, :b :a}}
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close