From d9dad00a33657c8759ca3551de4139136d16143b Mon Sep 17 00:00:00 2001 From: Per Larsson Date: Thu, 9 Dec 2021 16:17:56 +0100 Subject: Added options for Z$ max duration and whether to collect small objects. --- zenstore/compactcas.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'zenstore/compactcas.cpp') diff --git a/zenstore/compactcas.cpp b/zenstore/compactcas.cpp index b481dead5..f3fcbca28 100644 --- a/zenstore/compactcas.cpp +++ b/zenstore/compactcas.cpp @@ -318,9 +318,9 @@ CasContainerStrategy::CollectGarbage(GcContext& GcCtx) return; } - const bool GcEnabled = GcCtx.IsDeletionMode() && GcCtx.IsContainerGcEnabled(); + const bool CollectSmallObjects = GcCtx.IsDeletionMode() && GcCtx.CollectSmallObjects(); - if (!GcEnabled) + if (!CollectSmallObjects) { ZEN_INFO("garbage collect from '{}' DISABLED, found #{} {} chunks of total #{} {}", m_Config.RootDirectory / m_ContainerBaseName, -- cgit v1.2.3