forked from TrueCloudLab/frostfs-node
[#1610] neofs-adm: Fix generated storage config
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
11c9df6f00
commit
5c8d725447
1 changed files with 22 additions and 24 deletions
|
@ -44,8 +44,8 @@ morph:
|
||||||
{{if not .Relay }}
|
{{if not .Relay }}
|
||||||
storage:
|
storage:
|
||||||
shard_pool_size: 15 # size of per-shard worker pools used for PUT operations
|
shard_pool_size: 15 # size of per-shard worker pools used for PUT operations
|
||||||
shard_num: 1 # total number of shards
|
|
||||||
|
|
||||||
|
shard:
|
||||||
default: # section with the default shard parameters
|
default: # section with the default shard parameters
|
||||||
metabase:
|
metabase:
|
||||||
perm: 0644 # permissions for metabase files(directories: +x for current user and group)
|
perm: 0644 # permissions for metabase files(directories: +x for current user and group)
|
||||||
|
@ -68,8 +68,6 @@ storage:
|
||||||
gc:
|
gc:
|
||||||
remover_batch_size: 200 # number of objects to be removed by the garbage collector
|
remover_batch_size: 200 # number of objects to be removed by the garbage collector
|
||||||
remover_sleep_interval: 5m # frequency of the garbage collector invocation
|
remover_sleep_interval: 5m # frequency of the garbage collector invocation
|
||||||
|
|
||||||
shard:
|
|
||||||
0:
|
0:
|
||||||
mode: "read-write" # mode of the shard, must be one of the: "read-write" (default), "read-only"
|
mode: "read-write" # mode of the shard, must be one of the: "read-write" (default), "read-only"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue