aboutsummaryrefslogtreecommitdiff
path: root/zenserver/cache/structuredcachestore.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2022-05-02 11:22:14 +0200
committerDan Engelbrecht <[email protected]>2022-05-02 11:22:14 +0200
commitf14272b7adfb562a39295324a92c7bbf31c9bd3e (patch)
treeac7cae6aff48cdf0ba4c4a9290554fd82e866743 /zenserver/cache/structuredcachestore.cpp
parentcleanup (diff)
downloadzen-f14272b7adfb562a39295324a92c7bbf31c9bd3e.tar.xz
zen-f14272b7adfb562a39295324a92c7bbf31c9bd3e.zip
restore cg comment
Diffstat (limited to 'zenserver/cache/structuredcachestore.cpp')
-rw-r--r--zenserver/cache/structuredcachestore.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/zenserver/cache/structuredcachestore.cpp b/zenserver/cache/structuredcachestore.cpp
index 143f43deb..6311fc2c5 100644
--- a/zenserver/cache/structuredcachestore.cpp
+++ b/zenserver/cache/structuredcachestore.cpp
@@ -1410,7 +1410,7 @@ ZenCacheDiskLayer::CacheBucket::CollectGarbage(GcContext& GcCtx)
{
ZEN_TRACE_CPU("Z$::DiskLayer::CacheBucket::CollectGarbage");
- std::vector<DiskIndexEntry> ExpiredStandaloneEntries;
+ ZEN_INFO("collecting garbage from '{}'", m_BucketDir / m_BucketName);
Stopwatch TotalTimer;
uint64_t WriteBlockTimeUs = 0;
@@ -1473,6 +1473,7 @@ ZenCacheDiskLayer::CacheBucket::CollectGarbage(GcContext& GcCtx)
return;
}
+ std::vector<DiskIndexEntry> ExpiredStandaloneEntries;
IndexMap Index;
BlockStore::ReclaimSnapshotState BlockStoreState;
{