aboutsummaryrefslogtreecommitdiffstats
path: root/src/remake/coordinator.rs
Commit message (Collapse)AuthorAgeFilesLines
* remake: a holding swarm's snapshot holds the store read at its basetv18 hours1-0/+4
| | | | | | | | | | | A compaction's snapshot in a swarm holding a store holds the store as the node reads it from the document at the base, by its own refusals and its operator's drops (`docs/store.md`, Remakes): the checkpoint it reaches there, where it isn't the root, at `_continuum/checkpoint`; the root, the events that checkpoint keeps and those after it, each at its ID; and of the entries, the members'. What the checkpoint forgot, events nobody takes, and the entries of nodes that aren't members stay behind (`Holding::at_base`, `events::snapshot`, `Host::holding`).
* remake: no --follow-strict-remakes; a strict remake failing says whotv9 days1-2/+41
| | | | | | | | | | | | | | | | | A strict remake takes a majority of members whose --strict-keys take its manifest's signer: no node votes for one without, so --follow-strict-remakes (1173) goes. A node that doesn't vote still switches once the others commit, as with any remake. So that an operator can tell why one fails: a strict remake aborted for want of a majority (the voting period over, or a majority out of reach) says in its reason (GET /admin/remakes/{id}, and the coordinator's log) which members didn't vote, and that a member votes for one only with its manifest signed by a key of its --strict-keys. Each of those logs why itself (`Not voting for a strict remake`). The sim a_strict_remake_too_few_take: only a takes the manifest; the remake aborts, naming b and c.
* use Automerge as Document instead of AutoCommittv2026-10-311-2/+2
| | | | This allows a lot of operations to drop mut.
* move ChangeSet from swarm to documenttv2026-10-311-1/+1
|
* remake worker wakes up when vote is duetv2026-10-261-1/+29
|
* remove unit suffixes from fieldstv2026-10-261-1/+1
|
* add clock moduletv2026-10-251-4/+5
| | | | | The Clock module is the system clock that every unix timestamp new goes through. It comes with an offset that only tests can set.
* bump abort margin & allow aborting active remaketv2026-10-251-1/+1
|
* compact remake fixes base at the committv2026-10-241-10/+20
| | | | | | | Instead of fixing base heads at when proposed, compact fixes them when committing. This shrinks the window where writes can be lost if their author restarts to the switch delay; during replace and import remakes writes can still be lost during the voting period.
* remake coordinators resume after restarttv2026-10-241-5/+30
|
* don't commit expired remakestv2026-10-241-58/+93
|
* add votes registertv2026-10-241-4/+10
|
* put remake content into blobstv2026-10-241-1/+8
|
* introduce majority voting on remakestv2026-10-241-46/+36
|
* rename cluster to swarm everywhere!tv2026-10-211-1/+1
|
* rename compaction to remaketv2026-10-211-0/+183