From a9651911a0de65ac5459f4d8e99890b1d3fcb8d6 Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Mon, 1 Mar 2021 12:25:39 +0300 Subject: [PATCH] [#50] services/storage: Add GC configuration 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 --- services/storage/.storage.env | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/services/storage/.storage.env b/services/storage/.storage.env index 64bc87c..f6dbdd4 100644 --- a/services/storage/.storage.env +++ b/services/storage/.storage.env @@ -44,3 +44,9 @@ 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