diff options
| author | Dan Engelbrecht <[email protected]> | 2022-05-02 11:01:12 +0200 |
|---|---|---|
| committer | Dan Engelbrecht <[email protected]> | 2022-05-02 11:01:12 +0200 |
| commit | 80a39f97f465465466ccd2d5914421db55efb80e (patch) | |
| tree | 891a826b28a17c908ef29ffb45109dfccf27c561 /zenstore/compactcas.cpp | |
| parent | use std::vector<std::pair>> instead of map (diff) | |
| download | zen-80a39f97f465465466ccd2d5914421db55efb80e.tar.xz zen-80a39f97f465465466ccd2d5914421db55efb80e.zip | |
add back gc space reclaim call
Diffstat (limited to 'zenstore/compactcas.cpp')
| -rw-r--r-- | zenstore/compactcas.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/zenstore/compactcas.cpp b/zenstore/compactcas.cpp index 6a9cba817..5734a16b6 100644 --- a/zenstore/compactcas.cpp +++ b/zenstore/compactcas.cpp @@ -518,7 +518,8 @@ CasContainerStrategy::CollectGarbage(GcContext& GcCtx) m_LocationMap[Entry.Key] = Entry.Location; } } - }); + }, + [&GcCtx]() { return GcCtx.CollectSmallObjects(); }); GcCtx.DeletedCas(DeletedChunks); } |