diff options
| author | tv <tv@krebsco.de> | 2026-11-25 12:50:37 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-25 12:50:37 +0000 |
| commit | 8a34ccaf072e9f91ea6103cb96926833ef0f57f9 (patch) | |
| tree | 043de7122643b2fa5f077db84b7d938ded244f32 /docs/guides | |
| parent | 055e09b3410040e4300238ac5d0a53fdc2726e40 (diff) | |
federation: a checkpoint proposed a random wait after it is due
Every node voting by itself proposed a checkpoint as soon as one was due,
after a version say, at the heads it held then, and backed its own.
Nodes whose heads differed at that moment made different proposals, each
party's one true on its own: nothing ended that but nays by hand from
more than a third. Chance did it in a busy store, and a party on
purpose, sending each node another fresh write with the passing vote.
Now a node acting by itself only notes a checkpoint to propose
(Holding::proposes), and its worker has it proposed a random wait later
(Holding::propose), a sixtieth to a sixth of the keepalive interval, as
it waits before merging: by then it holds another node's proposal, and
proposes none beside one it would back.
Diffstat (limited to 'docs/guides')
| -rw-r--r-- | docs/guides/federation/voting-by-itself.md | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/guides/federation/voting-by-itself.md b/docs/guides/federation/voting-by-itself.md index 3e7c622..175081c 100644 --- a/docs/guides/federation/voting-by-itself.md +++ b/docs/guides/federation/voting-by-itself.md @@ -60,7 +60,12 @@ or `POST /admin/events/vote` with `{"proposal": "8d02…", "yes": true}`. it would back that can still pass; one that can still pass that a third of the parties back, someone but its proposer among them; or one held for less than a while (`--store-held-for`, ten minutes unless set) whose proposer has none older on the - version. It backs what it proposes, so that the nodes following its party back it too. + version. It proposes a random wait after one was first due (a sixtieth to a sixth of + `--keepalive`: 1 to 10 seconds at a minute), and none where another node's proposal + came meanwhile that it would back: nodes proposing at once, each at the heads it holds + then, make as many proposals. It backs what it proposes, so that the nodes following + its party back it too; a checkpoint too few back binds its proposer's `true` until + others' nays end it. Unless told otherwise, it proposes one after every version that changes more: after a close vote, one key voting twice can pass a rival version at a history from before it, any time later, which nodes lagging behind or joining from the root may take; a |
