diff options
| author | Per Larsson <[email protected]> | 2021-12-05 19:49:21 +0100 |
|---|---|---|
| committer | Per Larsson <[email protected]> | 2021-12-05 19:49:21 +0100 |
| commit | e0aa144d6051d87358872a891f1be02a113009f1 (patch) | |
| tree | 6dddcae4ce523322ac6977907e50db4bce1f35eb /zenstore | |
| parent | Check available disk space before GC. (diff) | |
| download | zen-e0aa144d6051d87358872a891f1be02a113009f1.tar.xz zen-e0aa144d6051d87358872a891f1be02a113009f1.zip | |
Fixed bug in container GC.
Diffstat (limited to 'zenstore')
| -rw-r--r-- | zenstore/compactcas.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zenstore/compactcas.cpp b/zenstore/compactcas.cpp index eeaec6f36..b481dead5 100644 --- a/zenstore/compactcas.cpp +++ b/zenstore/compactcas.cpp @@ -320,7 +320,7 @@ CasContainerStrategy::CollectGarbage(GcContext& GcCtx) const bool GcEnabled = GcCtx.IsDeletionMode() && GcCtx.IsContainerGcEnabled(); - if (GcEnabled) + if (!GcEnabled) { ZEN_INFO("garbage collect from '{}' DISABLED, found #{} {} chunks of total #{} {}", m_Config.RootDirectory / m_ContainerBaseName, |