From 4e328366efc3a2cccd286a7e191663af24dfe50d Mon Sep 17 00:00:00 2001 From: Dan Engelbrecht Date: Wed, 3 Apr 2024 17:50:48 +0200 Subject: validate rpc chunk responses (#36) * Validate size of found chunks in cas/cache --- src/zenstore/include/zenstore/cache/cachedisklayer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/zenstore/include') diff --git a/src/zenstore/include/zenstore/cache/cachedisklayer.h b/src/zenstore/include/zenstore/cache/cachedisklayer.h index 7aced67ad..471cc5dcd 100644 --- a/src/zenstore/include/zenstore/cache/cachedisklayer.h +++ b/src/zenstore/include/zenstore/cache/cachedisklayer.h @@ -326,7 +326,7 @@ public: void BuildPath(PathBuilderBase& Path, const IoHash& HashKey) const; void PutStandaloneCacheValue(const IoHash& HashKey, const ZenCacheValue& Value, std::span References); - IoBuffer GetStandaloneCacheValue(ZenContentType ContentType, const IoHash& HashKey) const; + IoBuffer GetStandaloneCacheValue(const DiskLocation& Loc, const IoHash& HashKey) const; void PutInlineCacheValue(const IoHash& HashKey, const ZenCacheValue& Value, std::span References); IoBuffer GetInlineCacheValue(const DiskLocation& Loc) const; CacheValueDetails::ValueDetails GetValueDetails(RwLock::SharedLockScope&, const IoHash& Key, PayloadIndex Index) const; -- cgit v1.2.3