aboutsummaryrefslogtreecommitdiff
path: root/src/model/s3
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-06-10 11:23:40 +0200
committerAlex Auvolat <alex@adnab.me>2022-06-10 11:23:40 +0200
commitc054de43dd3ccbf6a884f73a474b423bbab41d08 (patch)
treec94a44e74c0a12e99eeb4078bc5c386bbd51dfe4 /src/model/s3
parentbc29d77ed3865fcadfc8d99d029851f6d0f2dee1 (diff)
downloadgarage-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.rs4
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)]