aboutsummaryrefslogtreecommitdiffstats
path: root/src/document/sync.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-16 15:16:22 +0000
committertv <tv@krebsco.de>2026-11-16 16:27:03 +0100
commita50c9e13b0017b993bfd4eebebccc57bc8010a7a (patch)
treea4c528ea53f4147d3a48815f4274ffc762fef9b0 /src/document/sync.rs
parentd7e12d2949a846918ab09205674baf2a16ecb9da (diff)
docs/store: checkpoint heads, drops around them, and joining
A checkpoint's heads are events after the store's checkpoint, none in another's history, and are held by their IDs after the move, so that what builds on them is taken; "above" says so more plainly, and that no head is above its own heads. A node drops only events after its checkpoint, as every later event builds on what the checkpoint keeps, and undoes a move only by a pin. Until the next remake the document holds what a node forgot, and a node away syncs it; after it, a node that can't build the checkpoint pins it. A node joins from a pinned checkpoint, and from the root only a store that never moved: from the root, what came before a checkpoint can be grown anew by what the fold refuses since.
Diffstat (limited to 'src/document/sync.rs')
0 files changed, 0 insertions, 0 deletions