summaryrefslogtreecommitdiffstats
path: root/src/remake/mod.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-10-21 14:51:51 +0200
committertv <tv@krebsco.de>2026-10-21 14:51:51 +0200
commit0850433577942b8e65d3dacc060f2548b93d9c17 (patch)
tree9f28581e20dd91e9e534ee36ab2c65dc8dc8a851 /src/remake/mod.rs
parentb9782f827229b9e3e6053e065229cfef0e7983c3 (diff)
rename cluster to swarm everywhere!
Diffstat (limited to 'src/remake/mod.rs')
-rw-r--r--src/remake/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/remake/mod.rs b/src/remake/mod.rs
index c1014d7..68a0665 100644
--- a/src/remake/mod.rs
+++ b/src/remake/mod.rs
@@ -1,4 +1,4 @@
-//! Remakes: coordinated moves of the whole cluster to a new document, a new epoch.
+//! Remakes: coordinated moves of the whole swarm to a new document, a new epoch.
//! Compaction is one: the new document has the old one's content without its history.
//!
//! * `kind`: what differs between kinds of remake (building the new document, and
@@ -66,7 +66,7 @@ pub(crate) trait Host: Clone + Send + Sync + 'static {
/// Known (not forgotten) peers.
fn peer_summaries(&self) -> impl Future<Output = Vec<PeerSummary>> + Send;
- /// Stops serving requests (back to `Joining`, keeping the cluster ID), as while a
+ /// Stops serving requests (back to `Joining`, keeping the swarm ID), as while a
/// rejoin syncs a fresh document. Returns whether the node was serving.
fn suspend(&self) -> impl Future<Output = bool> + Send;