From c054de43dd3ccbf6a884f73a474b423bbab41d08 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Fri, 10 Jun 2022 11:23:40 +0200 Subject: Revert "Change object counter table to use full replication" This reverts commit bc29d77ed3865fcadfc8d99d029851f6d0f2dee1. --- src/model/index_counter.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/model/index_counter.rs') diff --git a/src/model/index_counter.rs b/src/model/index_counter.rs index a8837e0f..36e8172b 100644 --- a/src/model/index_counter.rs +++ b/src/model/index_counter.rs @@ -138,17 +138,17 @@ impl TableSchema for CounterTable { // ---- -pub struct IndexCounter { +pub struct IndexCounter { this_node: Uuid, local_counter: db::Tree, propagate_tx: mpsc::UnboundedSender<(T::CP, T::CS, LocalCounterEntry)>, - pub table: Arc, R>>, + pub table: Arc, TableShardedReplication>>, } -impl IndexCounter { +impl IndexCounter { pub fn new( system: Arc, - replication: R, + replication: TableShardedReplication, db: &db::Db, ) -> Arc { let background = system.background.clone(); -- cgit v1.2.3