From 7131553c53d4414d2da0e9b60e6e3425f1b46ec2 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sun, 19 Apr 2020 13:22:28 +0200 Subject: Refactor sharding logic; coming next: full replication with epidemic dissemination --- src/object_table.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/object_table.rs') diff --git a/src/object_table.rs b/src/object_table.rs index 82a64cd1..59ce3b7f 100644 --- a/src/object_table.rs +++ b/src/object_table.rs @@ -5,6 +5,7 @@ use std::sync::Arc; use crate::background::BackgroundRunner; use crate::data::*; use crate::table::*; +use crate::table_sharded::*; use crate::version_table::*; @@ -90,7 +91,7 @@ impl Entry for Object { pub struct ObjectTable { pub background: Arc, - pub version_table: Arc>, + pub version_table: Arc>, } #[async_trait] -- cgit v1.2.3