diff options
| author | tv <tv@krebsco.de> | 2026-11-16 17:17:05 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-16 18:29:38 +0100 |
| commit | f3c89a54e9e5f41fce32018b36c9913de04cb9cf (patch) | |
| tree | 423342fa84a8afb2334c2517c6b7a120bbf4a800 /src/config/file.rs | |
| parent | 1f3b8ceef9608f73c53f06b6371cac5ec002dcf1 (diff) | |
store: one rule for putting events again
Events were put again by three rules: of a change continuum refused, every event of it
and of what was built on it; after a switch, what a node held beyond the base that the
new document lacked; after a rejoin, what it held. Between them an event could go: at a
remake whose base came before a checkpoint, switched after nodes moved to it, the
events between the base and its heads that the checkpoint didn't keep were in no node's
store and left the document, and a store starting at the snapshot's checkpoint could
reach the nodes' no more, pinned or not.
One rule now: a node puts again every event its document lacks that a store starting at
the document's checkpoint would take, but for its own refusals and drops, and that it
has: one it holds, one in a change it refused, or one the document it left held. So no
remake leaves out what a store starting at the new document's checkpoint takes, and the
document holds what a node forgot until a remake whose snapshot holds that checkpoint or
a later one.
Diffstat (limited to 'src/config/file.rs')
0 files changed, 0 insertions, 0 deletions
