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/guides | |
| 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/guides')
| -rw-r--r-- | docs/guides/federation/voting-by-itself.md | 4 |
1 files changed, 3 insertions, 1 deletions
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 |
