From 7f9ba49c7151a0c3c29fbe0b0208b4a1f1dfc1e8 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Mon, 11 Sep 2023 11:57:36 +0200 Subject: [PATCH] block manager: remove data_dir field --- src/block/manager.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/block/manager.rs b/src/block/manager.rs index ea70b19c..2d1b5c67 100644 --- a/src/block/manager.rs +++ b/src/block/manager.rs @@ -80,8 +80,6 @@ pub struct BlockManager { /// Replication strategy, allowing to find on which node blocks should be located pub replication: TableShardedReplication, - /// Directory/ies in which block are stored - pub data_dir: DataDirEnum, /// Data layout pub(crate) data_layout: ArcSwap, /// Data layout persister @@ -169,7 +167,6 @@ impl BlockManager { let block_manager = Arc::new(Self { replication, - data_dir, data_layout: ArcSwap::new(Arc::new(data_layout)), data_layout_persister, data_fsync,