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
commit2564ba4c3c97433700aff9e9d6295c04a1ba275d (patch)
tree190a15bb5b30178e9d9d4c78af621462ec33c230 /src/remake/mod.rs
parentac8100af2f15b20a4a950287ace94f9836edce4e (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 b9c8147..7dc11d0 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;