diff options
author | Alex Auvolat <alex@adnab.me> | 2023-12-07 11:16:10 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-12-07 11:16:10 +0100 |
commit | d90de365b3b30cb631b22fcd62c98bddb5a91549 (patch) | |
tree | 9ee7226fa49571179b9fd7ff03e45a838a51a909 /src/rpc/layout/manager.rs | |
parent | 95eb13eb08d517d328e3c8aeb222440a27211ee9 (diff) | |
download | garage-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/manager.rs')
-rw-r--r-- | src/rpc/layout/manager.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/layout/manager.rs b/src/rpc/layout/manager.rs index 17465019..dc963ba0 100644 --- a/src/rpc/layout/manager.rs +++ b/src/rpc/layout/manager.rs @@ -139,7 +139,7 @@ impl LayoutManager { pub fn write_sets_of(self: &Arc<Self>, position: &Hash) -> WriteLock<Vec<Vec<Uuid>>> { let layout = self.layout(); let version = layout.current().version; - let nodes = layout.write_sets_of(position); + let nodes = layout.storage_sets_of(position); layout .ack_lock .get(&version) |