diff options
| author | Stefan Boberg <[email protected]> | 2021-09-23 13:48:34 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-09-23 13:48:34 +0200 |
| commit | af88b1a47dfeae66a0b2faa1623ff6c59d435e22 (patch) | |
| tree | 0b0814886697589bf0c55ef85cd61e95bbce753e /zenserver/cache/structuredcachestore.h | |
| parent | Added HashBuffer(IoBuffer&) overload with trivial (but inappropriate for the ... (diff) | |
| download | zen-af88b1a47dfeae66a0b2faa1623ff6c59d435e22.tar.xz zen-af88b1a47dfeae66a0b2faa1623ff6c59d435e22.zip | |
Added scrubbing logic to ZenCacheDiskLayer/ZenCacheMemoryLayer
This currently only goes through the motions of hashing the data to verify it, but does not perform recovery nor does it validate referential integrity
Diffstat (limited to 'zenserver/cache/structuredcachestore.h')
| -rw-r--r-- | zenserver/cache/structuredcachestore.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zenserver/cache/structuredcachestore.h b/zenserver/cache/structuredcachestore.h index 2cc3abb53..f96757409 100644 --- a/zenserver/cache/structuredcachestore.h +++ b/zenserver/cache/structuredcachestore.h @@ -65,6 +65,7 @@ private: bool Get(const IoHash& HashKey, ZenCacheValue& OutValue); void Put(const IoHash& HashKey, const ZenCacheValue& Value); + void Scrub(ScrubContext& Ctx); }; RwLock m_Lock; |