diff options
Diffstat (limited to 'docs/guides/federation/refusals-and-drops.md')
| -rw-r--r-- | docs/guides/federation/refusals-and-drops.md | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/docs/guides/federation/refusals-and-drops.md b/docs/guides/federation/refusals-and-drops.md index 1d29df1..8111210 100644 --- a/docs/guides/federation/refusals-and-drops.md +++ b/docs/guides/federation/refusals-and-drops.md @@ -26,17 +26,21 @@ curl -s -u tv:secret localhost:3000/events/refused or larger than it allows), `judged` (refused at its history), `builtOn` (built on `on`, refused), `notAbove` (not above the checkpoint's heads, as a move refuses it). -A change of another node that a node refuses doesn't take its events with it: the store -takes them as from anywhere (`Took events a refused change carried`), and the node puts -them again. - ## Kept across restarts -A node reads its store anew from its document at every start; what it refused of its -own, and what it dropped, it keeps in its store file (`--store-file`), written whenever -it changes. Without the file, a restart may take what it refused; a file that doesn't -read stops the node from starting; one it can't write it logs (`Couldn't write the store -file`). +What a node refused of its own, and what it dropped, is in its set's file +(`--store-document`) with the events, written where the set changed, every five seconds +and as the node stops; started again, the node goes on from it. Without the file, the +node joins anew, and may take what it refused; a file that doesn't read stops the node +from starting; one it can't write it logs (`Couldn't write the store's document`). + +A node keeping its store in the Automerge document reads it anew from that document at +every start, and keeps what it refused of its own and what it dropped in its store file +(`--store-file`), written whenever it changes: without it, a restart may take what it +refused, and one that doesn't read stops the node from starting (`Couldn't write the +store file`, where it can't write it). A change of another node that such a node refuses +doesn't take its events with it: the store takes them as from anywhere (`Took events a +refused change carried`), and the node puts them again. ## Dropping @@ -57,7 +61,10 @@ events from whoever brings them, and any version event naming a version among th whoever wrote it anew; it writes none itself, though it holds the votes passing it, and keeps so across restarts. Not what its checkpoint keeps or holds by ID: every event after it builds on that. A move to a checkpoint is undone -only by a checkpoint its operator pins (`--store-checkpoint`). +only by starting from a checkpoint its operator pins (`--store-checkpoint`): given +another than its set began from, the node begins its set anew from that one, and +refuses on what it refused and dropped +([`running-a-node.md`](running-a-node.md), [Joining](running-a-node.md#joining)). ## Taking back |
