From c8d04d733b8d01e23ccd959ea4a839d22b70229b Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 20 Oct 2026 02:25:54 +0200 Subject: fix catch-up / compaction in general --- src/compaction/mod.rs | 2 -- src/compaction/switch.rs | 11 +++++++++-- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'src/compaction') diff --git a/src/compaction/mod.rs b/src/compaction/mod.rs index 70226a9..c017610 100644 --- a/src/compaction/mod.rs +++ b/src/compaction/mod.rs @@ -105,8 +105,6 @@ pub(crate) struct PeerSummary { pub(crate) id: String, /// Not dormant. pub(crate) active: bool, - /// Handshake completed. - pub(crate) established: bool, /// The epoch the peer last advertised. pub(crate) epoch: Option, } diff --git a/src/compaction/switch.rs b/src/compaction/switch.rs index 06955c0..b13e9f2 100644 --- a/src/compaction/switch.rs +++ b/src/compaction/switch.rs @@ -141,6 +141,11 @@ async fn switch(host: &H, id: &str, record: &Record) -> Result(host: &H, id: &str, record: &Record) -> Result