forked from TrueCloudLab/frostfs-node
[#1523] neofs-node: Refactor configuration
1. Move compression parameters to the `shard` section. 2. Allow to use multiple sub-storage components in the blobstor. Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
13cdbde2e2
commit
26b4a258e0
37 changed files with 595 additions and 419 deletions
|
@ -1,10 +1,16 @@
|
|||
package fstree
|
||||
|
||||
import (
|
||||
"github.com/nspcc-dev/neofs-node/pkg/util"
|
||||
)
|
||||
|
||||
// Open implements common.Storage.
|
||||
func (*FSTree) Open(bool) error { return nil }
|
||||
|
||||
// Init implements common.Storage.
|
||||
func (*FSTree) Init() error { return nil }
|
||||
func (t *FSTree) Init() error {
|
||||
return util.MkdirAllX(t.RootPath, t.Permissions)
|
||||
}
|
||||
|
||||
// Close implements common.Storage.
|
||||
func (*FSTree) Close() error { return nil }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue