diff options
| author | tv <tv@krebsco.de> | 2026-11-16 16:23:51 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-16 18:01:39 +0100 |
| commit | 169b6b0e573ecc2a3f8e5f78d54f2e5c484a1373 (patch) | |
| tree | 3391f9ee71d7ebe705c82c3f71f9878c8218a806 /src/config/file.rs | |
| parent | 11244e60fbcef6b154c7b657ce2c50d56277bf7b (diff) | |
store: moving to a checkpoint, and starting from a pinned one
Once the fold names heads of a later checkpoint (events after the store's, none in
another's history), the store builds the checkpoint at them, keeps what the fold keeps,
forgets what came before them, and refuses every event not above them, with what waits
on such an event. What it forgot is held as accounted for: brought again, it is held,
and an event built on it isn't above the heads. A store starts from a checkpoint its
operator pins, its events building on the heads the checkpoint was built at.
A node starting from a checkpoint must judge the event that named it as every node
does; the fold for the tests counts the heads of the checkpoint a state starts from as
after the checkpoint current at them, so that it does.
Diffstat (limited to 'src/config/file.rs')
0 files changed, 0 insertions, 0 deletions
