Relationships
#5019 Docs: team followers enforce the leader's policy release, held grant changes stay held on every node, and revokes apply at once (#4496)
Opened by stack72 · 11/23/2026
swamp-club#4496 (PR swamp-club/swamp#3922) changes how grant changes reach the nodes of a v3 team, and one manual sentence is now wrong. Docs only, in the swamp-club repo under content/manual/.
Now wrong
how-to/swamp-serve/run-multi-instance-deployment.md, "Take writes on every node of a v3 team": "grant changes made on the leader apply on every node as they land." Under --grant-reload manual (the default) a change the leader holds is not applied on followers when it lands.
What to say
- Followers enforce the leader's policy. After every policy build the leader publishes the grants and groups it enforces, and each follower enforces that release rather than building its own from the latest grants. Every node decides a request alike, and a change held by
--grant-reload manualstays held on every node until a reload on the leader releases it. A follower's own--grant-reloadsetting has no effect on what it enforces;swamp access reloadandswamp serve reloadsent to a follower are forwarded to the leader. - Fail safe by direction. A revoke, a new deny or a removed group member applies on followers as soon as its commit lands, even before the leader releases it, so for that window followers are stricter than the leader. A new or widened grant, or an added group member, waits for the release. A follower lags its leader by about the time to apply one commit.
- Takeover. When a leader stops or fails, the node that takes over builds its policy from the latest grants, so changes the old leader was holding are released, as a restart of a single serve releases them.
- Rolling upgrades. While an older leader that publishes no release still leads, followers apply grant changes as they land, as before.
Pages
how-to/swamp-serve/run-multi-instance-deployment.md: replace the sentence above and add the points under the team section.how-to/swamp-serve/manage-access-grants.md, "Reload the policy snapshot": note that on a team the reload runs on the leader and reaches followers through its release.explanation/swamp-serve.md(the--grant-reloadparagraph around line 160): a short pointer to the team behaviour.
#4325 (team mode manual pages) covers these pages more broadly; this can land on its own.
Open
No activity in this phase yet.
system commented 11/23/2026, 5:29:10 PM
Classified automatically when this issue was filed.
- Type: Bug
If you feel this classification is incorrect, add a ripple to tell us so.
Sign in to post a ripple.