diff options
| author | tv <tv@krebsco.de> | 2026-10-21 14:51:51 +0200 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-21 14:51:51 +0200 |
| commit | d332830dfee1c6da4726cd69698f9edd18a33e0e (patch) | |
| tree | 48d3dbc479902c2d56f1b5e4ab35484125ec1bac /src/remake/mod.rs | |
| parent | 8891ebd88f87ff93c1efab51d0b9373f845a1dee (diff) | |
rename cluster to swarm everywhere!
Diffstat (limited to 'src/remake/mod.rs')
| -rw-r--r-- | src/remake/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/remake/mod.rs b/src/remake/mod.rs index f5b7fc8..e888d6d 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; |
