diff options
| author | tv <tv@krebsco.de> | 2026-11-30 19:36:56 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-30 19:36:56 +0000 |
| commit | 6a06bc4a955cdf2b5a183c9ff21e25c79a4e5d9f (patch) | |
| tree | 8ca41fca8d70f938e8444b0cceed880975c9797a /docs | |
| parent | 3bc200a2fdae7b928c68b4a1f8bfee9a919e8ff8 (diff) | |
federation: a stopped node on a set passes on what it holds back
A store that stopped at an event it can't judge holds back what comes
after, and its set gave none of it to others: what was put through such
a node reached nobody, and a restart lost it. The set now names what its
store holds back among what it gives, passes it on at once as it does
what it took, and keeps it in its file; once the store takes again, it
gives of it what the store took, or refused of its own.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/document.md | 4 | ||||
| -rw-r--r-- | docs/guides/federation/when-things-go-wrong.md | 10 |
2 files changed, 8 insertions, 6 deletions
diff --git a/docs/document.md b/docs/document.md index 07f25b0..07d3420 100644 --- a/docs/document.md +++ b/docs/document.md @@ -667,7 +667,9 @@ held; and where the fold takes it at its history, which every node judges alike. the fold refuses there is held by nobody. One whose history takes it and that the node itself refuses or doesn't read (a node's own: what it took before, its operator's drops, where it stopped) is held and passed on all the same, as the document holds it -today: so that what one node doesn't read still reaches the nodes that do. +today: so that what one node doesn't read still reaches the nodes that do. A node that +stopped holds back what comes after, as it can't tell which of it will be taken, and +passes that on alike, until it takes again: then it holds of it what it took. What builds on such an event, the node can't judge: it holds no history to judge it at. Where nodes took different ones of two versions that changed the same, or an diff --git a/docs/guides/federation/when-things-go-wrong.md b/docs/guides/federation/when-things-go-wrong.md index 13df07d..5bd7f62 100644 --- a/docs/guides/federation/when-things-go-wrong.md +++ b/docs/guides/federation/when-things-go-wrong.md @@ -76,7 +76,7 @@ record. A node stops at a version event writing a version that passed on the version it reads, which its continuum doesn't read: of a later federation, using what a later continuum takes, or none at all. It takes nothing and refuses nothing from then on, and votes -nothing by itself or by hand; what is put through it, it holds back +nothing by itself or by hand; what is put through it, it holds back and passes on (`stopped` when put). Its log says so (`The store stopped at an event this continuum can't judge`), and `GET /events` names the event, why, and how many it holds back: @@ -103,10 +103,10 @@ curl -u tv:secret -X POST -H 'Content-Type: application/json' \ # {"dropped":["9a1e…"]} ``` -Allowed again (`/admin/events/allow`), it stops there once more. A node that stopped -keeps none of it in its set's file: restarted, it stops there again. What it holds back, -it passes on to nobody, and what was put through it since it stopped, no other node has: -put it through another node. A node keeping its store in the Automerge document puts +Allowed again (`/admin/events/allow`), it stops there once more. What a node holds back, +it leaves out of nothing, as it can't tell which will be taken: it passes it on to the +other nodes, which take it where they read that version, and keeps it in its set's file; +restarted, it stops there again. A node keeping its store in the Automerge document puts what it holds back again where its document lacks it, and a remake keeps it, so a remake while nodes are stopped loses none of what was put since. |
