diff options
| author | tv <tv@krebsco.de> | 2026-11-24 19:07:35 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-24 19:07:35 +0000 |
| commit | 9c491018933833916d5d72e9185671638cb7e99b (patch) | |
| tree | f094784f23973453281512b42fa449ac1c7326a9 /docs | |
| parent | fb54044c688e0252b4af54a057151b9c4d4ccf98 (diff) | |
federation: what a node held when it started, it held before any proposal
A node keeps when it took each event in memory, by its own clock: after
a start, everything its document held was stamped at once, a checkpoint's
proposal with the writes it leaves out. The voters' rule asks what was
held for a while before the proposal, which was nothing then, and once
--store-back-after had passed the node backed it, whatever its heads
left out. A followed key left such a proposal pending and gathered its
followers' votes as they restarted, as all do to roll out a revision.
Now what the store holds as the node first reads it counts as held
before any proposal (Inner::from_start, Seen::from_start): the node
backs no checkpoint leaving any of it out. One proposed just before a
restart at heads that left out the writes then under way isn't backed
by that node either; the next one is.
a_node_votes_above_the_heads_of_the_checkpoint_it_votes_on read write,
proposal and vote into a fresh node at once, which is this case: its
node runs before they come now, and a second one, started on all of it,
casts nothing.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/federation.md | 3 | ||||
| -rw-r--r-- | docs/guides/federation/voting-by-itself.md | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/docs/federation.md b/docs/federation.md index 7b7bd54..52b03c9 100644 --- a/docs/federation.md +++ b/docs/federation.md @@ -612,7 +612,8 @@ checkpoints are proposed at once, the votes split, as any do; a rule may vote `f the one it doesn't back, so that one dies and its backers are free. It backs, and proposes, a checkpoint only once its store held its checkpoint, or ran, for a while, by its own clock: so the parties it follows move the store at most once that long, and a -node just started, which holds nothing for a while yet, backs none. A node that stopped +node just started backs none. What it held when it started, it takes as held for a +while before any proposal, as its clock says nothing of before. A node that stopped at a version it doesn't read casts nothing, by itself or by hand, as what it reads is behind ([Changing the federation](#changing-the-federation)). diff --git a/docs/guides/federation/voting-by-itself.md b/docs/guides/federation/voting-by-itself.md index ebde0cf..3e7c622 100644 --- a/docs/guides/federation/voting-by-itself.md +++ b/docs/guides/federation/voting-by-itself.md @@ -47,7 +47,9 @@ or `POST /admin/events/vote` with `{"proposal": "8d02…", "yes": true}`. * **After a move** (`--store-back-after`, ten minutes unless set): it backs, and proposes, no checkpoint until its store held its checkpoint, or ran, that long by its own clock, by itself or by hand: the parties it follows move the store once that long at most, and - just started, it holds nothing for a while yet. + just started, it backs none. What it held when it started counts as held for a while + before any proposal, as its clock says nothing of before: it backs no checkpoint + leaving any of that out. * **Proposing checkpoints** (`--store-propose-events COUNT`, `--store-propose-versions COUNT`, `--store-propose-every DURATION`): once it holds so many events beyond its checkpoint, so many versions changing more than moving to a checkpoint were written |
