diff options
| author | tv <tv@krebsco.de> | 2026-11-30 14:55:03 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-30 14:55:03 +0000 |
| commit | 8017b0e69f0350c2a35629ae71d511ddf7a3aa9c (patch) | |
| tree | 494d282a79985a19d2194717fa7a7e7a4bba52e1 /crates/config/src/lib.rs | |
| parent | 8e97bcfa65e92da21df912cc5e19cf18027b82b8 (diff) | |
A node of a swarm holding a store, on a set of events (--store-document)
With store-root or store-id, store-document names the file of the
store's own document, a set of events: the node holds its store there
and nothing in the Automerge document, syncs with nodes holding a set
and no others, and goes on from the file when started again. Without a
file yet it begins from the root (StoreStart::set); joining by the ID
alone needs a file. What a checkpoint forgot is kept for
store-keeps-forgotten (30 days). The file stands for store-file, and no
checkpoint is pinned.
The set is written to its file where it changed, every five seconds
with the store's worker and as the node stops (Holding::save), what a
checkpoint forgot longer ago let go of first.
Simulations: a node behind catches up; a node goes on from its file.
Diffstat (limited to 'crates/config/src/lib.rs')
0 files changed, 0 insertions, 0 deletions
