diff options
| author | tv <tv@krebsco.de> | 2026-10-31 03:54:45 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-31 03:54:45 +0100 |
| commit | 75cc87154b4328758a7d4d6ad76ea2645636530d (patch) | |
| tree | 6f010c9e7c768aa8d22e2c5934384ebe364b6194 /src/remake | |
| parent | 4d09dcfcd7432ab303f848342d2f762b57b7c693 (diff) | |
move ChangeSet from swarm to document
Diffstat (limited to 'src/remake')
| -rw-r--r-- | src/remake/coordinator.rs | 2 | ||||
| -rw-r--r-- | src/remake/mod.rs | 2 | ||||
| -rw-r--r-- | src/remake/switch.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/remake/coordinator.rs b/src/remake/coordinator.rs index 50ed4a3..01937c7 100644 --- a/src/remake/coordinator.rs +++ b/src/remake/coordinator.rs @@ -38,7 +38,7 @@ use super::snapshot; use super::vote; use crate::document::meta::{self, REMAKES, VOTES}; use crate::document::store::StoreError; -use crate::swarm::sync::paths_related; +use crate::document::store::paths_related; const TICK: Duration = Duration::from_secs(1); diff --git a/src/remake/mod.rs b/src/remake/mod.rs index 7b98f47..4a27ff4 100644 --- a/src/remake/mod.rs +++ b/src/remake/mod.rs @@ -51,7 +51,7 @@ use axum::{ use tokio::sync::broadcast; use crate::document::replica::Epoch; -use crate::swarm::sync::ChangeSet; +use crate::document::store::ChangeSet; /// Remakes and their aftermath on this node, in numbers (`/admin/stats`). #[derive(Debug, Clone, Copy, Default)] diff --git a/src/remake/switch.rs b/src/remake/switch.rs index 6c90f44..1238499 100644 --- a/src/remake/switch.rs +++ b/src/remake/switch.rs @@ -38,8 +38,8 @@ use super::vote; use crate::document::meta::{self, REMAKES}; use crate::document::replica::Epoch; use crate::document::store; +use crate::document::store::paths_related; use crate::locks::MutexExt; -use crate::swarm::sync::paths_related; const TICK: Duration = Duration::from_secs(1); |
