aboutsummaryrefslogtreecommitdiff
path: root/src/table/replication/parameters.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-12-07 10:55:15 +0100
committerAlex Auvolat <alex@adnab.me>2023-12-07 10:57:21 +0100
commit95eb13eb08d517d328e3c8aeb222440a27211ee9 (patch)
tree4216b2172cb973f404b56b51546824cbfa966a7a /src/table/replication/parameters.rs
parentc8356a91d9bf1d1488ec288099f2a55a1019918f (diff)
downloadgarage-95eb13eb08d517d328e3c8aeb222440a27211ee9.tar.gz
garage-95eb13eb08d517d328e3c8aeb222440a27211ee9.zip
rpc: refactor result tracking for quorum sets
Diffstat (limited to 'src/table/replication/parameters.rs')
-rw-r--r--src/table/replication/parameters.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/table/replication/parameters.rs b/src/table/replication/parameters.rs
index a4e701bb..db11ff5f 100644
--- a/src/table/replication/parameters.rs
+++ b/src/table/replication/parameters.rs
@@ -3,7 +3,7 @@ use garage_util::data::*;
/// Trait to describe how a table shall be replicated
pub trait TableReplication: Send + Sync + 'static {
- type WriteSets: AsRef<Vec<Vec<Uuid>>> + Send + Sync + 'static;
+ type WriteSets: AsRef<Vec<Vec<Uuid>>> + AsMut<Vec<Vec<Uuid>>> + Send + Sync + 'static;
// See examples in table_sharded.rs and table_fullcopy.rs
// To understand various replication methods