diff options
| author | Dan Engelbrecht <[email protected]> | 2023-10-20 11:02:02 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-10-20 11:02:02 +0200 |
| commit | 42cf81240256b92ef423a15add32d8b564375c7d (patch) | |
| tree | 2ec5103d1e1278b3b727955a6f92e99f8451ea1d /src/zenstore/compactcas.cpp | |
| parent | Change shared server config to use port 8558 (diff) | |
| download | zen-42cf81240256b92ef423a15add32d8b564375c7d.tar.xz zen-42cf81240256b92ef423a15add32d8b564375c7d.zip | |
Add --skip-delete option to gc command (#484)
- Feature: Add `--skip-delete` option to gc command
- Bugfix: Fix implementation when claiming GC reserve during GC
Diffstat (limited to 'src/zenstore/compactcas.cpp')
| -rw-r--r-- | src/zenstore/compactcas.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenstore/compactcas.cpp b/src/zenstore/compactcas.cpp index 715704c2e..a6bd71bd7 100644 --- a/src/zenstore/compactcas.cpp +++ b/src/zenstore/compactcas.cpp @@ -538,7 +538,7 @@ CasContainerStrategy::CollectGarbage(GcContext& GcCtx) m_CasLog.Append(LogEntries); m_CasLog.Flush(); }, - [&GcCtx]() { return GcCtx.CollectSmallObjects(); }); + [&GcCtx]() { return GcCtx.ClaimGCReserve(); }); if (!DeletedChunks.empty()) { |