guide: joining a store that holds data, and the two limits of the guard (#4) #10
Loading…
Reference in a new issue
No description provided.
Delete branch "neptunus/4-guide-join-with-data"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Refs #4.
Docs only: one new section in
guides/cluster_consistency.md, "Joining a Store That Holds Data", plus line 29 (the coordinator is now the node whose store holds data, with the lowest node name among equals).Done-when:
join_unless_holding/2: a refusal, fail-closed on an unreadable store, checked on the node that would lose the data) and the election (elect_coordinator/3: holders first). It covers limit (a), a store with data refused for good by an existing cluster, with the start-order rule and the operator step when the empty nodes clustered first. It covers limit (b), the check-then-act window, with the rule to append only oncereckon_db_cluster:local_healthy/1is true.9d8ce2a:join_unless_holding/2,join_action/1(held → refuse, unknown → retry),elect_coordinator/3,local_events/1(any node under the streams root),local_healthy/1(leader, more than one member, local server answers), thedata_dirconfig, and that a subscription made before the join survives it (reckon_db_cluster_join_subscriptions_SUITE).