aboutsummaryrefslogtreecommitdiffstats
path: root/docs/document.md
Commit message (Collapse)AuthorAgeFilesLines
* federation: nodes of both kinds pass their sets on to each other, tootv15 hours1-2/+13
| | | | | | | | | | | | Two nodes of both kinds say an Automerge document in their handshakes, and synced that alone: what only sets hold, the entries of the nodes on sets, stopped at the first node of both it reached, so that in a swarm larger than its neighbour count the nodes on sets never came to read each other's entries. A node of both now says where its set stands beside each STATUS to a peer on a document; one of both that hears it passes its set on in turn, one on the document alone drops it. A simulation of nine nodes, three of each kind, two neighbours each.
* federation: a node on a set begins anew from another checkpoint its operator ↵tv15 hours1-1/+4
| | | | | | | | | | | | | pins A pin counted only while the node had no file of its set, so a node behind for longer than the others keep what a checkpoint forgot, or one undoing a move, had to start without its file, and lost what it refused of its own and what its operator had it drop. The file now says which checkpoint was pinned when the set began: with another pinned, and not the one the store is at, the node gathers its set anew from that one, its store refusing what the one in the file refused. A node of both kinds makes its set of its document then, where it finds the pin.
* federation: a stopped node on a set passes on what it holds backtv21 hours1-1/+3
| | | | | | | | | 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.
* docs: moving a swarm holding a store to sets of eventstv23 hours1-6/+20
| | | | | operations.md says how, step by step; document.md what is built of it; the change log that it is there.
* docs: a set of events as built, and in the change logtv26 hours1-1/+32
|
* wire: what another kind of document says, in a SYNC's body and a STATUS's stamptv2 days1-0/+8
| | | | | | | | | | | | From version 53 on, beside Automerge's (SyncBody::Kind, HeadsSummary::Kind): a SYNC's body is one more of its shapes, another kind's bytes; a STATUS's stamp is another kind's bytes after a byte no Automerge stamp begins with. Nothing version 53 said changes, and version 52 says neither (WireError::OtherKind). Two stamps of another kind are the same where their bytes are. A node holding an Automerge document passes over a body of another kind: a peer holding one isn't let near it.
* document.md: events a node can't judge, held within a boundtv2 days1-0/+9
|
* document.md: a set of events moves by a node of both kinds, and none starts ↵tv2 days1-23/+16
| | | | | | | on Automerge after How long a node keeps what its checkpoint forgot is its operator's to set. The stages in the order they are built: the set of events first.
* document.md: the kinds to come: merged state, ordered by clocks, a set of eventstv2 days1-23/+560
|
* wire: version 53, what is the document's as bytes, and the kind in handshakestv3 days1-17/+24
| | | | | | | | | | | | | | | | | | | | Spoken beside 52 (OLDEST), so a swarm upgrades node by node: a node writes each peer the newest version both speak. From 53 on (wire::KINDS, wire::kinds), what is a document's kind's goes as bytes the wire carries and doesn't read: a SYNC's body, with whether it is taken as delivered, and what vouches for what it carries; where a STATUS says its sender stands; what a BLOB request asks for in bulk; a BLOB is of a unit or of what is offered in bulk, by their names. Automerge's bytes are what 52 carries in the messages' own fields. HELLO and HELLO_REPLY say the kind of the sender's document (document::KIND, automerge) from 53 on; one in 52 says none and is of that kind. A peer whose document is of another kind is refused in the handshake, saying so. The bytes of 52 stay as golden_bytes has them; golden_bytes_of_kinds has those of 53. scripts/wire-check v0.0.1: its nodes and this tree's talk.
* document.md: passing on, what of it is built in the nodetv3 days1-5/+7
|
* document.md: passing on, as asked of a kind, and what the wire carries of ittv3 days1-3/+88
| | | | | | | | | Not built. What of passing a document on is the swarm's for every kind and what is a kind's; the three names above the seam (a stamp, a unit's name, a writer) and what a kind's session with a peer is asked; a wire version in which what is a kind's is bytes, spoken beside the one now; and the same as a document of merged state without a history would give it.
* document.md: values through a view are builttv3 days1-5/+6
|
* document.md: what of the second stage is builttv3 days1-2/+4
|
* document: screening what is received is the document's, the rules access ↵tv3 days1-6/+10
| | | | | | | | | control's access::screen becomes document::screen: reading received bytes as changes, putting them in order, keeping those that wait or are refused, vouching by signatures and applying is all Automerge's shape, and has each change judged by the rules (access::rules) before it applies it.
* document.md: what the node asks of its document, and the seamtv3 days1-0/+250
A design: what the rest of the node asks of its document today, by what asks it; which of that is Automerge's shape and which any document's; what users and the wire see of the engine; the seam, around a kind of document with its passing on, its units and their judging, and its disk; the kinds (Automerge, merged state without a history, a set of events); and the stages.