aboutsummaryrefslogtreecommitdiff
path: root/zenstore/compactcas.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2022-05-02 11:01:12 +0200
committerDan Engelbrecht <[email protected]>2022-05-02 11:01:12 +0200
commit80a39f97f465465466ccd2d5914421db55efb80e (patch)
tree891a826b28a17c908ef29ffb45109dfccf27c561 /zenstore/compactcas.cpp
parentuse std::vector<std::pair>> instead of map (diff)
downloadzen-80a39f97f465465466ccd2d5914421db55efb80e.tar.xz
zen-80a39f97f465465466ccd2d5914421db55efb80e.zip
add back gc space reclaim call
Diffstat (limited to 'zenstore/compactcas.cpp')
-rw-r--r--zenstore/compactcas.cpp3
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);
}