diff options
author | Alex Auvolat <alex@adnab.me> | 2022-06-10 11:20:59 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-06-10 11:20:59 +0200 |
commit | bc29d77ed3865fcadfc8d99d029851f6d0f2dee1 (patch) | |
tree | 686305ca670daf14a03362344b52050049d986f2 /src/model/s3 | |
parent | ffe05c3c7d56af05f542ada65a385fecfc15c533 (diff) | |
download | garage-bc29d77ed3865fcadfc8d99d029851f6d0f2dee1.tar.gz garage-bc29d77ed3865fcadfc8d99d029851f6d0f2dee1.zip |
Change object counter table to use full replication
Diffstat (limited to 'src/model/s3')
-rw-r--r-- | src/model/s3/object_table.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/model/s3/object_table.rs b/src/model/s3/object_table.rs index 23cce1d3..b9995d79 100644 --- a/src/model/s3/object_table.rs +++ b/src/model/s3/object_table.rs @@ -8,7 +8,7 @@ use garage_util::background::BackgroundRunner; use garage_util::data::*; use garage_table::crdt::*; -use garage_table::replication::TableShardedReplication; +use garage_table::replication::*; use garage_table::*; use crate::index_counter::*; @@ -223,7 +223,7 @@ impl Crdt for Object { pub struct ObjectTable { pub background: Arc<BackgroundRunner>, pub version_table: Arc<Table<VersionTable, TableShardedReplication>>, - pub object_counter_table: Arc<IndexCounter<Object>>, + pub object_counter_table: Arc<IndexCounter<Object, TableFullReplication>>, } #[derive(Clone, Copy, Debug, Serialize, Deserialize)] |