diff options
| author | tv <tv@krebsco.de> | 2026-11-25 13:03:52 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-25 13:03:52 +0000 |
| commit | 1656f73b41a3528048c33774457b0d68ed430934 (patch) | |
| tree | 56fa9550232e9831f1f2d6ed324d9b16b9d713cf /docs/store.md | |
| parent | 1820e326115f803ffa84280aad4e367f20d91e9f (diff) | |
store: a new event builds on a head holding what it is judged by
A new event builds on the heads taken earliest, 64 at most. Where a
store holds more, and those all come from before the current version was
written, an event on them is written under the version before: a merge
event, under one without merge events, was refused, so the backlog of
heads a revision was passed to merge stayed, and with more heads than a
checkpoint may name, no node proposed one.
The fold now says which events a new one is to have in its history
(Fold::judged_by; the federation: those writing the current version),
and building_on names the earliest head holding one, in place of the
last of the others.
Diffstat (limited to 'docs/store.md')
| -rw-r--r-- | docs/store.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/store.md b/docs/store.md index d5159f6..f1e7586 100644 --- a/docs/store.md +++ b/docs/store.md @@ -102,7 +102,9 @@ A fold says, of its events: * **how large an event may be**, which the document judges a change by ([On Automerge](#on-automerge)), and how many events it may build on: a new event builds on the heads of what a node holds, as many as that, the earliest taken first, so - that what is written merges what stayed apart the longest; + that what is written merges what stayed apart the longest, one of them holding what + the fold says a new event is judged by, where a head does (the federation: an event + writing the current version); * **whether an event is taken where its history reads as a given state**: judging. A root is taken only as its own store's, never by judging; * **the state a checkpoint and the events after it read as**, built by adding the events |
