block manager: remove data_dir field
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
Alex 2023-09-11 11:57:36 +02:00
parent de5d792181
commit 7f9ba49c71

View file

@ -80,8 +80,6 @@ pub struct BlockManager {
/// Replication strategy, allowing to find on which node blocks should be located /// Replication strategy, allowing to find on which node blocks should be located
pub replication: TableShardedReplication, pub replication: TableShardedReplication,
/// Directory/ies in which block are stored
pub data_dir: DataDirEnum,
/// Data layout /// Data layout
pub(crate) data_layout: ArcSwap<DataLayout>, pub(crate) data_layout: ArcSwap<DataLayout>,
/// Data layout persister /// Data layout persister
@ -169,7 +167,6 @@ impl BlockManager {
let block_manager = Arc::new(Self { let block_manager = Arc::new(Self {
replication, replication,
data_dir,
data_layout: ArcSwap::new(Arc::new(data_layout)), data_layout: ArcSwap::new(Arc::new(data_layout)),
data_layout_persister, data_layout_persister,
data_fsync, data_fsync,