forked from TrueCloudLab/frostfs-dev-env
[#54] services/storage: Fix configuring shard's GC
GC configuration parameters should be set for each shard instead of global. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
a9651911a0
commit
ddcb711975
1 changed files with 8 additions and 6 deletions
|
@ -26,6 +26,11 @@ NEOFS_STORAGE_SHARD_0_BLOBSTOR_BLOBOVNICZA_SIZE=4194304
|
||||||
NEOFS_STORAGE_SHARD_0_BLOBSTOR_BLOBOVNICZA_SHALLOW_DEPTH=2
|
NEOFS_STORAGE_SHARD_0_BLOBSTOR_BLOBOVNICZA_SHALLOW_DEPTH=2
|
||||||
NEOFS_STORAGE_SHARD_0_BLOBSTOR_BLOBOVNICZA_SHALLOW_WIDTH=4
|
NEOFS_STORAGE_SHARD_0_BLOBSTOR_BLOBOVNICZA_SHALLOW_WIDTH=4
|
||||||
NEOFS_STORAGE_SHARD_0_BLOBSTOR_BLOBOVNICZA_OPENED_CACHE_SIZE=50
|
NEOFS_STORAGE_SHARD_0_BLOBSTOR_BLOBOVNICZA_OPENED_CACHE_SIZE=50
|
||||||
|
### GC config
|
||||||
|
#### Limit of the single data remover's batching operation in number of objects
|
||||||
|
NEOFS_STORAGE_SHARD_0_GC_REMOVER_BATCH_SIZE=100
|
||||||
|
#### Sleep interval between data remover tacts
|
||||||
|
NEOFS_STORAGE_SHARD_0_GC_REMOVER_SLEEP_INTERVAL=1m
|
||||||
|
|
||||||
## Second shard
|
## Second shard
|
||||||
### Write cache config
|
### Write cache config
|
||||||
|
@ -44,9 +49,6 @@ NEOFS_STORAGE_SHARD_1_BLOBSTOR_BLOBOVNICZA_SIZE=4194304
|
||||||
NEOFS_STORAGE_SHARD_1_BLOBSTOR_BLOBOVNICZA_SHALLOW_DEPTH=2
|
NEOFS_STORAGE_SHARD_1_BLOBSTOR_BLOBOVNICZA_SHALLOW_DEPTH=2
|
||||||
NEOFS_STORAGE_SHARD_1_BLOBSTOR_BLOBOVNICZA_SHALLOW_WIDTH=4
|
NEOFS_STORAGE_SHARD_1_BLOBSTOR_BLOBOVNICZA_SHALLOW_WIDTH=4
|
||||||
NEOFS_STORAGE_SHARD_1_BLOBSTOR_BLOBOVNICZA_OPENED_CACHE_SIZE=50
|
NEOFS_STORAGE_SHARD_1_BLOBSTOR_BLOBOVNICZA_OPENED_CACHE_SIZE=50
|
||||||
|
### GC config
|
||||||
# GC configuration
|
NEOFS_STORAGE_SHARD_1_GC_REMOVER_BATCH_SIZE=100
|
||||||
## Limit of the single data remover's batching operation in number of objects
|
NEOFS_STORAGE_SHARD_1_GC_REMOVER_SLEEP_INTERVAL=1m
|
||||||
NEOFS_GC_REMOVER_BATCH_SIZE=100
|
|
||||||
## Sleep interval between data remover tacts
|
|
||||||
NEOFS_GC_REMOVER_SLEEP_INTERVAL=1m
|
|
||||||
|
|
Loading…
Reference in a new issue