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 /src/swarm/topology/graph.rs | |
| 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 'src/swarm/topology/graph.rs')
0 files changed, 0 insertions, 0 deletions
