aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/layout/helper.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-12-07 11:16:10 +0100
committerAlex Auvolat <alex@adnab.me>2023-12-07 11:16:10 +0100
commitd90de365b3b30cb631b22fcd62c98bddb5a91549 (patch)
tree9ee7226fa49571179b9fd7ff03e45a838a51a909 /src/rpc/layout/helper.rs
parent95eb13eb08d517d328e3c8aeb222440a27211ee9 (diff)
downloadgarage-d90de365b3b30cb631b22fcd62c98bddb5a91549.tar.gz
garage-d90de365b3b30cb631b22fcd62c98bddb5a91549.zip
table sync: use write quorums to report global success or failure of sync
Diffstat (limited to 'src/rpc/layout/helper.rs')
-rw-r--r--src/rpc/layout/helper.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/layout/helper.rs b/src/rpc/layout/helper.rs
index 881a039e..0aa7c6aa 100644
--- a/src/rpc/layout/helper.rs
+++ b/src/rpc/layout/helper.rs
@@ -180,7 +180,7 @@ impl LayoutHelper {
ret
}
- pub(crate) fn write_sets_of(&self, position: &Hash) -> Vec<Vec<Uuid>> {
+ pub fn storage_sets_of(&self, position: &Hash) -> Vec<Vec<Uuid>> {
self.layout()
.versions
.iter()