forked from TrueCloudLab/frostfs-node
[#1770] node: Do not create meta dir on config read
It is created in `Open` anyway. Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
76cfcc242c
commit
9374823950
1 changed files with 0 additions and 2 deletions
|
@ -5,7 +5,6 @@ import (
|
|||
"errors"
|
||||
"fmt"
|
||||
"net"
|
||||
"path/filepath"
|
||||
"sync"
|
||||
atomicstd "sync/atomic"
|
||||
"time"
|
||||
|
@ -494,7 +493,6 @@ func initShardOptions(c *cfg) {
|
|||
|
||||
metaPath := metabaseCfg.Path()
|
||||
metaPerm := metabaseCfg.BoltDB().Perm()
|
||||
fatalOnErr(util.MkdirAllX(filepath.Dir(metaPath), metaPerm))
|
||||
|
||||
gcEventChannel := make(chan shard.Event)
|
||||
addNewEpochNotificationHandler(c, func(ev event.Event) {
|
||||
|
|
Loading…
Reference in a new issue