aboutsummaryrefslogtreecommitdiff
path: root/src/table/replication/sharded.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-12-11 16:09:22 +0100
committerAlex Auvolat <alex@adnab.me>2023-12-11 16:09:22 +0100
commit0041b013a473e3ae72f50209d8f79db75a72848b (patch)
tree7b44d731b86d14369bcef1a65cdc87a8538c484b /src/table/replication/sharded.rs
parentadccce1145d5d82581e4a5da707be35badb2d5a6 (diff)
downloadgarage-0041b013a473e3ae72f50209d8f79db75a72848b.tar.gz
garage-0041b013a473e3ae72f50209d8f79db75a72848b.zip
layout: refactoring and fix in layout helpernlnet-task3
Diffstat (limited to 'src/table/replication/sharded.rs')
-rw-r--r--src/table/replication/sharded.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/table/replication/sharded.rs b/src/table/replication/sharded.rs
index 55d0029d..8ba3700f 100644
--- a/src/table/replication/sharded.rs
+++ b/src/table/replication/sharded.rs
@@ -54,7 +54,7 @@ impl TableReplication for TableShardedReplication {
fn sync_partitions(&self) -> SyncPartitions {
let layout = self.system.cluster_layout();
- let layout_version = layout.all_ack();
+ let layout_version = layout.ack_map_min();
let mut partitions = layout
.current()