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/guides/federation/refusals-and-drops.md | 4 +++- docs/guides/federation/running-a-node.md | 15 +++++++++------ docs/guides/federation/when-things-go-wrong.md | 4 ++-- 3 files changed, 14 insertions(+), 9 deletions(-) (limited to 'docs/guides/federation') diff --git a/docs/guides/federation/refusals-and-drops.md b/docs/guides/federation/refusals-and-drops.md index 40f37de..8111210 100644 --- a/docs/guides/federation/refusals-and-drops.md +++ b/docs/guides/federation/refusals-and-drops.md @@ -61,7 +61,9 @@ events from whoever brings them, and any version event naming a version among th whoever wrote it anew; it writes none itself, though it holds the votes passing it, and keeps so across restarts. Not what its checkpoint keeps or holds by ID: every event after it builds on that. A move to a checkpoint is undone -only by starting from a checkpoint its operator pins (`--store-checkpoint`), anew +only by starting from a checkpoint its operator pins (`--store-checkpoint`): given +another than its set began from, the node begins its set anew from that one, and +refuses on what it refused and dropped ([`running-a-node.md`](running-a-node.md), [Joining](running-a-node.md#joining)). ## Taking back diff --git a/docs/guides/federation/running-a-node.md b/docs/guides/federation/running-a-node.md index 2392578..066b219 100644 --- a/docs/guides/federation/running-a-node.md +++ b/docs/guides/federation/running-a-node.md @@ -28,8 +28,9 @@ nodes of the other don't sync with each other. what its operator had it drop, and the members' entries. Started again, the node goes on from it. One that doesn't read, or is of another store, stops the node from starting. -* `--store-checkpoint ID`: the checkpoint a node joining with nothing begins its set - from, instead of the root, by its ID ([Joining](#joining), below). +* `--store-checkpoint ID`: the checkpoint the node begins its set from, instead of the + root, by its ID: joining with nothing, or anew, where its set began from another + ([Joining](#joining), below). * `--store-keeps-forgotten DURATION` (30 days unless given): for how long the node keeps what a checkpoint its store moved to forgot, for nodes still before that checkpoint. * `--store-neighbour-parties NAME,…`: parties among whose members, with its own party's, @@ -121,14 +122,16 @@ its operator pins by its ID (`--store-checkpoint`): ask a node you trust for it (`checkpoint` in `GET /events`). The node asks the members it reaches for the checkpoint by that ID, and for the events it keeps, and holds no store until it has them all. From the root, it would take what was grown anew from it since, by keys of versions long -replaced. The pin counts only while the node has no file of its set: with one, it goes on -from there. +replaced. A node that has a file of its set goes on from there, as long as the pin is the +one its set began from, or none: its store moves on to later checkpoints by itself. A node that was away across a move to a checkpoint builds that checkpoint itself, from what the others keep of what the checkpoint forgot (`--store-keeps-forgotten`). Away for longer than they keep it, it stays before the checkpoint, and the others refuse what it -writes: start it anew, without its set's file and with the checkpoint pinned. It then -holds none of what it refused of its own or dropped +writes: pin the checkpoint, and start it again. Given another pin than the one its set +began from, and not the checkpoint its store is at, the node begins its set anew from +that one (`Another checkpoint is pinned than the store's document began from`), and +refuses on what it refused of its own and what its operator had it drop ([`refusals-and-drops.md`](refusals-and-drops.md)). ## What it writes by itself diff --git a/docs/guides/federation/when-things-go-wrong.md b/docs/guides/federation/when-things-go-wrong.md index 5bd7f62..1ef6fd3 100644 --- a/docs/guides/federation/when-things-go-wrong.md +++ b/docs/guides/federation/when-things-go-wrong.md @@ -61,8 +61,8 @@ curl -u tv:secret -X POST -H 'Content-Type: application/json' \ The node refuses what it dropped from then on, from whoever brings it, and writes no version naming what it dropped, until it is allowed again. A node drops only what it took after its checkpoint: a version that moved it to a checkpoint it undoes only by -starting from a checkpoint its operator pins (`--store-checkpoint`), anew, without its -set's file ([`running-a-node.md`](running-a-node.md), [Joining](running-a-node.md#joining)). +starting from a checkpoint its operator pins (`--store-checkpoint`), another than its set +began from ([`running-a-node.md`](running-a-node.md), [Joining](running-a-node.md#joining)). The parties answer keys that voted twice by forking, without the party that voted twice (`continuum-party fork remove lass`) or with its keys named anew (`fork keys lass -- cgit v1.3.1