guide: joining a store that holds data, and the two limits of the guard (#4) #10

Manually merged
terra merged 1 commit from neptunus/4-guide-join-with-data into main 2026-12-02 08:58:52 +00:00
Member

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:

  1. The section covers the #2 guard (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 once reckon_db_cluster:local_healthy/1 is true.
  2. Each rule names the code it relies on. Every claim was checked against main 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), the data_dir config, and that a subscription made before the join survives it (reckon_db_cluster_join_subscriptions_SUITE).
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: 1. The section covers the #2 guard (`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 once `reckon_db_cluster:local_healthy/1` is true. 2. Each rule names the code it relies on. Every claim was checked against main 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), the `data_dir` config, and that a subscription made before the join survives it (`reckon_db_cluster_join_subscriptions_SUITE`).
terra manually merged commit 738990b20a into main 2026-12-02 08:58:52 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
reckon-db-org/reckon-db!10
No description provided.