Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 611 Bytes

example-1.md

File metadata and controls

19 lines (15 loc) · 611 Bytes
Example 1: 4 node cluster, 1 peer crashes
  • Nodes A, B, C, and D fully in the cluster

  • Local state before (1): {:pairs {:a :b, :b :c, :c :d, :d :a}}

  • A, B, C, and D play the log

  • B dies, A sends leave-cluster (1)

  • A encounters (1)

    • Pre: {:pairs {:a :b, :b :c, :c :d, :d :a}}
    • Post: {:pairs {:a :c, :c :d, :d :a}}
    • determines A will transitively close the gap and watch C
    • adds watch to C
  • C and D encounter (1)

    • Pre: {:pairs {:a :b, :b :c, :c :d, :d :a}}
    • Post: {:pairs {:a :c, :c :d, :d :a}}
    • determines A will transitively close the gap and watch C
    • ignores