aboutsummaryrefslogtreecommitdiffstats
path: root/src/swarm/peer/worker.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-08 18:10:25 +0000
committertv <tv@krebsco.de>2026-11-08 19:28:32 +0100
commit857771cc05c73fb91477d7afcf91f10e25aaa0ab (patch)
tree26b6a0ebed82988f965d5bd193fe2649d680635a /src/swarm/peer/worker.rs
parentf91604095e6f0978c61f66d0b937e36271637e6b (diff)
remake: a replay taken back keeps the node its author
Review 2, N4: replay_newest names the node the document's author once, before its first group. Taking a refused group back forks the document at the heads before it, and Automerge's fork has no author; when the refused group was the actor's first change, the next one was committed as seq 1 without the footer naming the node, refused as "it names no node", taken back too, and so on: the whole replay in the quarantine with a misleading reason. The fork now names the node its author again. Test: the first group refused (a capability revoked in the new epoch), the next replayed.
Diffstat (limited to 'src/swarm/peer/worker.rs')
0 files changed, 0 insertions, 0 deletions