a9651911a0
In NeoFS Node v0.16.0 was implemented new mechanism of garbage collecting. Data remover is a routine that physically removes "garbage" objects by time clock. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
52 lines
2 KiB
Bash
52 lines
2 KiB
Bash
NEOFS_MORPH_RPC_ENDPOINT=http://morph_chain:30333
|
|
NEOFS_MORPH_NOTIFICATION_ENDPOINT=ws://morph_chain:30333/ws
|
|
|
|
NEOFS_ACCOUNTING_SCRIPTHASH=75742c78b8da5672edad46f83c5db2270c06614d
|
|
NEOFS_CONTAINER_SCRIPTHASH=1aa07a159e598b7ae32cc2b943411f22959a6ccf
|
|
NEOFS_NETMAP_SCRIPTHASH=4d8f451cbf2a2c4ec10aeecedac5246db49db6bd
|
|
|
|
NEOFS_BOOTSTRAP_PERIODIC_ENABLED=true
|
|
|
|
# Storage engine configuration
|
|
|
|
## First shard
|
|
### Write cache config
|
|
NEOFS_STORAGE_SHARD_0_USE_WRITE_CACHE=false
|
|
### Metabase config
|
|
NEOFS_STORAGE_SHARD_0_METABASE_PATH=/storage/meta0
|
|
NEOFS_STORAGE_SHARD_0_METABASE_PERM=0700
|
|
### Blobstor config
|
|
NEOFS_STORAGE_SHARD_0_BLOBSTOR_PATH=/storage/blobstor0
|
|
NEOFS_STORAGE_SHARD_0_BLOBSTOR_PERM=0700
|
|
NEOFS_STORAGE_SHARD_0_BLOBSTOR_SHALLOW_DEPTH=4
|
|
NEOFS_STORAGE_SHARD_0_BLOBSTOR_COMPRESS=true
|
|
NEOFS_STORAGE_SHARD_0_BLOBSTOR_SMALL_SIZE_LIMIT=102400
|
|
### Blobovnicza config
|
|
NEOFS_STORAGE_SHARD_0_BLOBSTOR_BLOBOVNICZA_SIZE=4194304
|
|
NEOFS_STORAGE_SHARD_0_BLOBSTOR_BLOBOVNICZA_SHALLOW_DEPTH=2
|
|
NEOFS_STORAGE_SHARD_0_BLOBSTOR_BLOBOVNICZA_SHALLOW_WIDTH=4
|
|
NEOFS_STORAGE_SHARD_0_BLOBSTOR_BLOBOVNICZA_OPENED_CACHE_SIZE=50
|
|
|
|
## Second shard
|
|
### Write cache config
|
|
NEOFS_STORAGE_SHARD_1_USE_WRITE_CACHE=false
|
|
### Metabase config
|
|
NEOFS_STORAGE_SHARD_1_METABASE_PATH=/storage/meta1
|
|
NEOFS_STORAGE_SHARD_1_METABASE_PERM=0700
|
|
### Blobstor config
|
|
NEOFS_STORAGE_SHARD_1_BLOBSTOR_PATH=/storage/blobstor1
|
|
NEOFS_STORAGE_SHARD_1_BLOBSTOR_PERM=0700
|
|
NEOFS_STORAGE_SHARD_1_BLOBSTOR_COMPRESS=true
|
|
NEOFS_STORAGE_SHARD_1_BLOBSTOR_SHALLOW_DEPTH=4
|
|
NEOFS_STORAGE_SHARD_1_BLOBSTOR_SMALL_SIZE_LIMIT=102400
|
|
### Blobovnicza config
|
|
NEOFS_STORAGE_SHARD_1_BLOBSTOR_BLOBOVNICZA_SIZE=4194304
|
|
NEOFS_STORAGE_SHARD_1_BLOBSTOR_BLOBOVNICZA_SHALLOW_DEPTH=2
|
|
NEOFS_STORAGE_SHARD_1_BLOBSTOR_BLOBOVNICZA_SHALLOW_WIDTH=4
|
|
NEOFS_STORAGE_SHARD_1_BLOBSTOR_BLOBOVNICZA_OPENED_CACHE_SIZE=50
|
|
|
|
# GC configuration
|
|
## Limit of the single data remover's batching operation in number of objects
|
|
NEOFS_GC_REMOVER_BATCH_SIZE=100
|
|
## Sleep interval between data remover tacts
|
|
NEOFS_GC_REMOVER_SLEEP_INTERVAL=1m
|