aboutsummaryrefslogtreecommitdiff
path: root/src/garage/cli/layout.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-12-07 14:27:53 +0100
committerAlex Auvolat <alex@adnab.me>2023-12-07 14:51:20 +0100
commit9cecea64d4509e95ac9793b29c947e2ecf9bb0b8 (patch)
tree38e9f105004ceea86e064892aab5f20f9c3c4f46 /src/garage/cli/layout.rs
parentaa59059a910eb6e1e824b84413a66909d697ef8a (diff)
downloadgarage-9cecea64d4509e95ac9793b29c947e2ecf9bb0b8.tar.gz
garage-9cecea64d4509e95ac9793b29c947e2ecf9bb0b8.zip
layout: allow sync update tracker to progress with only quorums
Diffstat (limited to 'src/garage/cli/layout.rs')
-rw-r--r--src/garage/cli/layout.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/garage/cli/layout.rs b/src/garage/cli/layout.rs
index cdf77c04..fac826f5 100644
--- a/src/garage/cli/layout.rs
+++ b/src/garage/cli/layout.rs
@@ -365,9 +365,9 @@ pub async fn cmd_layout_history(
table.push(format!(
"{:?}\t#{}\t#{}\t#{}",
node,
- layout.update_trackers.ack_map.get(node),
- layout.update_trackers.sync_map.get(node),
- layout.update_trackers.sync_ack_map.get(node),
+ layout.update_trackers.ack_map.get(node, min_stored),
+ layout.update_trackers.sync_map.get(node, min_stored),
+ layout.update_trackers.sync_ack_map.get(node, min_stored),
));
}
table[1..].sort();