Structs§
Enums§
Constants§
Functions§
- alias_
of - bump_
epoch - Every write that changes what
snapshotwould return has to bump the epoch, or the nodes keep serving the state they already hold. Models bump; the route that owns the commit then callspoke_nodes. - bump_
epoch_ if_ node_ on_ mesh - bump_
epoch_ if_ server_ on_ mesh - epoch
- frontend_
address - is_
alias_ shaped - poke_
nodes - Tells every node on the mesh to pull the snapshot now rather than on its next poll. Must be called after the commit that bumped the epoch, or a node can win the race and re-read the state it already has. Batched under one key, so several bumps in a request collapse to one round of pokes, and spawned so the batch loop is not held for the length of the requests.
- signer
- snapshot