diff options
| author | tv <tv@krebsco.de> | 2026-11-14 05:52:41 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-14 05:52:41 +0000 |
| commit | 32236bdad06ab6992dbc1f5dbe7aa44e3520e61e (patch) | |
| tree | 6fdca034b180d8f4d790797bc4a6838c2cb883ab /src/locks.rs | |
| parent | 85f4d50fbf8866701b45142374dc94246dc13e07 (diff) | |
federation: remakes are continuum's
A federated swarm remakes as every swarm does: a node proposes and
coordinates, the alive peers ack, every node builds the next epoch
itself. The voters no longer decide remakes, so the base check, the
votes naming a base, `baseAge`, `remakeAge`, the heal, and the admin
actions `choose`, `follow` and `back` go. What the federated policy adds:
* compaction only, and no sooner than the epoch's history holds
`remakeChanges` changes (recommended 10 000) or its changes started
`remakeWriters` writers (1 000): every node proposes and acks by
these numbers, and follows only such a remake;
* any base serves: the snapshot holds the registry at the base with
whatever something signed later could still change (envelopes with
their signatures, what was given up and hasn't stopped counting for
good, what the order among claims rests on, how far each length of
time has run), and every node carries over what it holds beyond the
base with what it held of it;
* envelopes of the epoch before come from any node, as within an
epoch; a claim carried over and one the snapshot holds are ordered
as two claims out of each other's sight, not by the base;
* lengths of time go on across a remake, each node's carry record
saying what it saw broken after the base;
* of two remakes of one epoch, every node goes to the one with the
lower ID.
A remake made a cut reach no further back than its snapshot. With
remakes as frequent as the document grows, that would leave a stolen
key's work standing after an hour. So what was given up, replaced,
left out by a cut or past its limit, and was seen so for `final`, has
stopped counting for good, remake or not; that is what a remake leaves
out.
Diffstat (limited to 'src/locks.rs')
0 files changed, 0 insertions, 0 deletions
