aboutsummaryrefslogtreecommitdiffstats
path: root/docs/document.md
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-12-01 01:58:17 +0000
committertv <tv@krebsco.de>2026-12-01 01:58:17 +0000
commiteadf0952260ba4b21e791226cf5ad39e8f079c86 (patch)
treecbe9c24f258942621e6983b2f3865e1eff042ef4 /docs/document.md
parent34bfcb661ed74bf40809576bbb388362cb7ffaa1 (diff)
federation: a node on a set begins anew from another checkpoint its operator pins
A pin counted only while the node had no file of its set, so a node behind for longer than the others keep what a checkpoint forgot, or one undoing a move, had to start without its file, and lost what it refused of its own and what its operator had it drop. The file now says which checkpoint was pinned when the set began: with another pinned, and not the one the store is at, the node gathers its set anew from that one, its store refusing what the one in the file refused. A node of both kinds makes its set of its document then, where it finds the pin.
Diffstat (limited to 'docs/document.md')
-rw-r--r--docs/document.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/document.md b/docs/document.md
index 07d3420..641fa92 100644
--- a/docs/document.md
+++ b/docs/document.md
@@ -754,7 +754,10 @@ in its handshakes, and syncs with nodes that say so and no others.
* **Starting**: from the file; without one, from the root, where given and no
checkpoint is pinned; else with nothing, asking the members it reaches for the
checkpoint named by the store's ID or by `--store-checkpoint`, and for the events
- that one keeps, each taken as what its name says.
+ that one keeps, each taken as what its name says. The file says which checkpoint was
+ pinned when the set began: with another pinned, and not the one the store is at, the
+ node begins anew from that one, its store refusing what the one in the file refused
+ of the node's own and as its operator had it drop.
* **The node's own entry** is what `swarm::members` writes of a member, put as the
node's next entry; its other writes of protocol data are refused. What reads
members, the policy and the swarm's ID of a document reads them of the set