forked from Deuxfleurs/garage
block manager: remove data_dir field
This commit is contained in:
parent
de5d792181
commit
7f9ba49c71
1 changed files with 0 additions and 3 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue