diff options
| author | Dan Engelbrecht <[email protected]> | 2022-05-01 23:34:20 +0200 |
|---|---|---|
| committer | Dan Engelbrecht <[email protected]> | 2022-05-01 23:34:57 +0200 |
| commit | 75b1dd112aead7c5246fa84928b9cd96dde49cbc (patch) | |
| tree | 98e74af2d1563e88791b149cb5d0d896206705cb /zenserver/cache/structuredcachestore.cpp | |
| parent | reimplement CasContainerStrategy::Scrub (diff) | |
| download | zen-75b1dd112aead7c5246fa84928b9cd96dde49cbc.tar.xz zen-75b1dd112aead7c5246fa84928b9cd96dde49cbc.zip | |
respect Ctx.RunRecovery()
Diffstat (limited to 'zenserver/cache/structuredcachestore.cpp')
| -rw-r--r-- | zenserver/cache/structuredcachestore.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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 |