diff options
| author | tv <tv@krebsco.de> | 2026-11-09 15:40:48 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-09 18:21:09 +0100 |
| commit | f9bf20fc73095378d67a94592e930fba6dd019f6 (patch) | |
| tree | 0739a5c60971aa49070409b77359a18d0889f0ba /src/swarm/hyparview.rs | |
| parent | e59be7214b1fc1998f76a34f7e4429ee4259494c (diff) | |
remake: a backup's epoch as its snapshot names it
Review 4, appendix: a document loaded from a backup was taken to be on the largest
generation `_continuum/epochs` held as it stood, verified at its only root. In a swarm
without a policy a member's own change could plant `_continuum/epochs/99`, and a backup
then failed to load until it was removed.
The generation is now read at the document's only change without dependencies (its
snapshot writes its own entry and carries the earlier ones), as the rest of the
protocol reads epoch metadata; the genesis change writes none, so a first-epoch backup
is genesis whatever was planted. The test plants one.
Diffstat (limited to 'src/swarm/hyparview.rs')
0 files changed, 0 insertions, 0 deletions
