diff options
author | Alex Auvolat <alex@adnab.me> | 2022-06-10 11:23:40 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-06-10 11:23:40 +0200 |
commit | c054de43dd3ccbf6a884f73a474b423bbab41d08 (patch) | |
tree | c94a44e74c0a12e99eeb4078bc5c386bbd51dfe4 /src/model/s3 | |
parent | bc29d77ed3865fcadfc8d99d029851f6d0f2dee1 (diff) | |
download | garage-c054de43dd3ccbf6a884f73a474b423bbab41d08.tar.gz garage-c054de43dd3ccbf6a884f73a474b423bbab41d08.zip |
Revert "Change object counter table to use full replication"
This reverts commit bc29d77ed3865fcadfc8d99d029851f6d0f2dee1.
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 b9995d79..23cce1d3 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::*; +use garage_table::replication::TableShardedReplication; 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, TableFullReplication>>, + pub object_counter_table: Arc<IndexCounter<Object>>, } #[derive(Clone, Copy, Debug, Serialize, Deserialize)] |