Expand description
Cross-instance barrier protocol over a gossip KV. Leader announces, followers ack, leader polls for quorum.
Structs§
- Barrier
Ack - Follower ack.
ok = falseforces the leader to abort instead of wait. - Barrier
Announcement - Leader-written barrier announcement.
- Barrier
Coordinator - Cross-instance barrier coordination over a
ClusterKv. - InMemory
Kv - In-memory KV for tests.
Enums§
- Phase
- Barrier phase.
- Quorum
Outcome - Outcome of
wait_for_quorum.
Constants§
- ACK_KEY
- KV key for a follower’s barrier ack.
- ANNOUNCEMENT_
KEY - KV key for the leader’s barrier announcement.
Traits§
- Cluster
Kv - Gossip-KV seam.