From 75b1dd112aead7c5246fa84928b9cd96dde49cbc Mon Sep 17 00:00:00 2001 From: Dan Engelbrecht Date: Sun, 1 May 2022 23:34:20 +0200 Subject: respect Ctx.RunRecovery() --- zenserver/cache/structuredcachestore.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'zenserver/cache/structuredcachestore.cpp') diff --git a/zenserver/cache/structuredcachestore.cpp b/zenserver/cache/structuredcachestore.cpp index f26d599ab..9ae5b0f17 100644 --- a/zenserver/cache/structuredcachestore.cpp +++ b/zenserver/cache/structuredcachestore.cpp @@ -1497,6 +1497,11 @@ ZenCacheDiskLayer::CacheBucket::Scrub(ScrubContext& Ctx) m_Index.erase(BadKey); } } + + // Let whomever it concerns know about the bad chunks. This could + // be used to invalidate higher level data structures more efficiently + // than a full validation pass might be able to do + Ctx.ReportBadCasChunks(BadKeys); } void -- cgit v1.2.3