aboutsummaryrefslogtreecommitdiffstats
path: root/src/remake/mod.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-10-31 04:36:05 +0100
committertv <tv@krebsco.de>2026-10-31 04:36:05 +0100
commit2762b384945e5f1ec45b82c51157f26c3bbf9ab9 (patch)
tree02088f1d90f9bcb180c2698ea11ba055cffe60a0 /src/remake/mod.rs
parent49439ad4f0dd4cd701ff4208fb2f80afe0c10396 (diff)
remake: move proposal to its own module
Diffstat (limited to 'src/remake/mod.rs')
-rw-r--r--src/remake/mod.rs5
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;