aboutsummaryrefslogtreecommitdiff
path: root/src/model/k2v
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/k2v
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/k2v')
-rw-r--r--src/model/k2v/item_table.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/model/k2v/item_table.rs b/src/model/k2v/item_table.rs
index 0d91f5e9..baa1db4b 100644
--- a/src/model/k2v/item_table.rs
+++ b/src/model/k2v/item_table.rs
@@ -6,7 +6,6 @@ use garage_db as db;
use garage_util::data::*;
use garage_table::crdt::*;
-use garage_table::replication::*;
use garage_table::*;
use crate::index_counter::*;
@@ -188,7 +187,7 @@ impl Entry<K2VItemPartition, String> for K2VItem {
}
pub struct K2VItemTable {
- pub(crate) counter_table: Arc<IndexCounter<K2VItem, TableShardedReplication>>,
+ pub(crate) counter_table: Arc<IndexCounter<K2VItem>>,
pub(crate) subscriptions: Arc<SubscriptionManager>,
}