diff options
| author | tv <tv@krebsco.de> | 2026-10-31 04:36:05 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-31 04:36:05 +0100 |
| commit | b9fdbac91b1c533d8843824b3f9e0b5bae059d70 (patch) | |
| tree | e1dfc2c6acf7ddc6d8fb29bd3f05b49a0f8ae350 /src/remake/mod.rs | |
| parent | 0411b3230f3cfec661166232aa75c0ebebcab616 (diff) | |
remake: move proposal to its own module
Diffstat (limited to 'src/remake/mod.rs')
| -rw-r--r-- | src/remake/mod.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/remake/mod.rs b/src/remake/mod.rs index 4a27ff4..5042ce9 100644 --- a/src/remake/mod.rs +++ b/src/remake/mod.rs @@ -5,7 +5,9 @@ //! where writes made after the base go): `compact`, `replace` and `import`. //! * `snapshot`: deterministic build of the next epoch's initial document. //! * `records`: the replicated remake records under `_continuum/remakes/<id>`. -//! * `coordinator`: proposal, vote count and decision on the node that was asked. +//! * `proposal`: writing a proposal (its checks, superseding expired remakes), and when +//! a node other than the coordinator may abort an expired one. +//! * `coordinator`: vote count and decision on the node that was asked. //! * `vote`: who votes, for which remake, and when a remake has its majority. //! * `content`: the new document of a `replace`/`import` remake, fetched by every voter. //! * `switch`: switching this node to a committed epoch (worker). @@ -26,6 +28,7 @@ mod coordinator; mod delta; mod kind; mod local; +mod proposal; mod quarantine; mod records; pub(crate) mod snapshot; |
