From 98ca55ee593c1d073241a295c9aba513e8e96e99 Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 21 Oct 2026 14:51:51 +0200 Subject: rename cluster to swarm everywhere! --- src/remake/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/remake/mod.rs') diff --git a/src/remake/mod.rs b/src/remake/mod.rs index 3cfaf0b..ff3c9c3 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> + 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 + Send; -- cgit v1.3.1