aboutsummaryrefslogtreecommitdiffstats
path: root/src/simtest/timing.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-30 14:55:03 +0000
committertv <tv@krebsco.de>2026-11-30 14:55:03 +0000
commit8017b0e69f0350c2a35629ae71d511ddf7a3aa9c (patch)
tree494d282a79985a19d2194717fa7a7e7a4bba52e1 /src/simtest/timing.rs
parent8e97bcfa65e92da21df912cc5e19cf18027b82b8 (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 'src/simtest/timing.rs')
0 files changed, 0 insertions, 0 deletions