From eadf0952260ba4b21e791226cf5ad39e8f079c86 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 1 Dec 2026 01:58:17 +0000 Subject: 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. --- docs/document.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'docs/document.md') 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 -- cgit v1.3.1