aboutsummaryrefslogtreecommitdiffstats
path: root/src/api
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-09 15:40:48 +0000
committertv <tv@krebsco.de>2026-11-09 18:21:09 +0100
commitf9bf20fc73095378d67a94592e930fba6dd019f6 (patch)
tree0739a5c60971aa49070409b77359a18d0889f0ba /src/api
parente59be7214b1fc1998f76a34f7e4429ee4259494c (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/api')
0 files changed, 0 insertions, 0 deletions