aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/users.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-25 12:50:37 +0000
committertv <tv@krebsco.de>2026-11-25 12:50:37 +0000
commit8a34ccaf072e9f91ea6103cb96926833ef0f57f9 (patch)
tree043de7122643b2fa5f077db84b7d938ded244f32 /src/api/users.rs
parent055e09b3410040e4300238ac5d0a53fdc2726e40 (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 'src/api/users.rs')
0 files changed, 0 insertions, 0 deletions