aboutsummaryrefslogtreecommitdiffstats
path: root/docs/document.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/document.md')
-rw-r--r--docs/document.md26
1 files changed, 20 insertions, 6 deletions
diff --git a/docs/document.md b/docs/document.md
index dd1a942..07f25b0 100644
--- a/docs/document.md
+++ b/docs/document.md
@@ -634,10 +634,10 @@ among nodes that don't trust each other, no cut by time holds.
## A set of events
-A kind, `events`, for a swarm holding a store ([`store.md`](store.md)): built, but for
-the node of both kinds a running swarm moves by
-([From an Automerge document to this](#from-an-automerge-document-to-this)); a node
-is of it where its operator says so ([As built](#as-built), below). The
+A kind, `events`, for a swarm holding a store ([`store.md`](store.md)): built. A node
+is of it where its operator says so ([As built](#as-built), below), and a swarm on
+Automerge moves to it node by node
+([From an Automerge document to this](#from-an-automerge-document-to-this)). The
store asks nothing of what carries its events, and what makes an Automerge document
carry them is most of what a swarm holding a store has to get right
([On Automerge](store.md#on-automerge)): the changes that may write an event, the
@@ -768,8 +768,22 @@ without a new federation and without a vote, by **a node of both kinds for a whi
release whose node can hold the store in both at once, a member of both, and takes into
each what the other holds, as it puts events again today. Operators move their nodes
one at a time; once none is of the old kind, the next release drops it for a swarm
-holding a store. From the release that has this kind, no swarm holding a store is
-started on Automerge: one that runs there runs on, until it has moved.
+holding a store.
+
+Built: a node given `--store-both` beside `--store-document` holds its store in the
+Automerge document and in a set ([`swarm/set.rs`](../src/swarm/set.rs),
+`Holding::of_both`). It takes handshakes of either kind and says to each peer the kind
+that peer holds; passes the Automerge document on to the ones and its set to the
+others; puts into the document what its set took of peers on sets, and passes on to
+them what its set took of the document; and writes its entry in both. Its set, without
+a file yet, is made of the store as the node reads it of its document, so it begins
+where the document does, a checkpoint a remake left among it. Nodes on the document
+alone and nodes on a set alone take none of each other's handshakes: what goes between
+them goes through the nodes of both
+([`operations.md`](operations.md), [Moving to sets of events](operations.md#moving-to-sets-of-events)).
+
+Not built: that no swarm holding a store is started on Automerge any more. One that
+runs there runs on, until it has moved.
## What others do