Node A fully in the cluster
Local state before (1): {:pairs {}}
B wants to join
B sends prepare-join-cluster (1)
And B play the log
B encounters (1)
{:pair {}}{:pairs {} :prepared {:b :a}}notify-join-cluster (2)A encounters (1)
{:pair {}}{:pairs {} :prepared {:b :a}}A encounters (2)
{:pairs {} :prepared {:b :a}}{:pairs {} :accepted {:b :a}}accept-join-cluster (3)B encounters (2)
{:pairs {} :prepared {:b :a}}{:pairs {} :accepted {:b :a}}B encounters (3)
{:pairs {} :prepared {:b :a}}{:pairs {:a :b, :b :a}}A encounters (3)
{:pairs {} :prepared {:b :a}}{:pairs {:a :b, :b :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 |