diff options
Diffstat (limited to 'src/zenstore/compactcas.cpp')
| -rw-r--r-- | src/zenstore/compactcas.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/zenstore/compactcas.cpp b/src/zenstore/compactcas.cpp index 63158f6de..a138e43e9 100644 --- a/src/zenstore/compactcas.cpp +++ b/src/zenstore/compactcas.cpp @@ -388,6 +388,11 @@ CasContainerStrategy::CollectGarbage(GcContext& GcCtx) { ZEN_TRACE_CPU("CasContainer::CollectGarbage"); + if (GcCtx.SkipCid()) + { + return; + } + // It collects all the blocks that we want to delete chunks from. For each such // block we keep a list of chunks to retain and a list of chunks to delete. // |