From 6b06459b998b372b0e768d8fd1cd33bae5b536ff Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sat, 13 Sep 2025 21:34:09 +0200 Subject: [PATCH] fullcopy tables: fix read quorum --- src/table/replication/fullcopy.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/table/replication/fullcopy.rs b/src/table/replication/fullcopy.rs index b6b95ae6..f3ee51fe 100644 --- a/src/table/replication/fullcopy.rs +++ b/src/table/replication/fullcopy.rs @@ -53,7 +53,7 @@ impl TableReplication for TableFullReplication { ConsistencyMode::Consistent => { let layout = self.system.cluster_layout(); let nodes = layout.read_version()?.all_nodes(); - Ok(nodes.len().div_euclid(2) + 1) + Ok(nodes.len().div_ceil(2)) } } }