aboutsummaryrefslogtreecommitdiff
path: root/zenserver/upstream/zen.h
diff options
context:
space:
mode:
authorzousar <[email protected]>2022-02-08 18:06:53 -0700
committerzousar <[email protected]>2022-02-08 18:06:53 -0700
commit4c08a6f32966a94cf925b7b1503623a3953340b3 (patch)
tree3372483df06be6878f79c50dff9bdc34410badbe /zenserver/upstream/zen.h
parentMerge branch 'main' of https://github.com/EpicGames/zen (diff)
downloadzen-4c08a6f32966a94cf925b7b1503623a3953340b3.tar.xz
zen-4c08a6f32966a94cf925b7b1503623a3953340b3.zip
Change Value propagation to Zen or Jupiter
This change ensures we retain the right content type of kCompressedBinary when propagating values from Zen->UpstreamZen. This is done via an RPC that posts a CbPackage. Furthermore when propagating from Zen->Jupiter, it composes its own referencing CbObject for them instead of sending a octet content type and Jupiter defining the referencing CbObject. When fetching Values from Jupiter, this new composed CbObject is still interpreted correctly by Zen.
Diffstat (limited to 'zenserver/upstream/zen.h')
-rw-r--r--zenserver/upstream/zen.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/zenserver/upstream/zen.h b/zenserver/upstream/zen.h
index bc8fd3c56..f70d9d06f 100644
--- a/zenserver/upstream/zen.h
+++ b/zenserver/upstream/zen.h
@@ -133,6 +133,7 @@ public:
ZenCacheResult PutCacheRecord(std::string_view BucketId, const IoHash& Key, IoBuffer Value, ZenContentType Type);
ZenCacheResult PutCacheValue(std::string_view BucketId, const IoHash& Key, const IoHash& ValueContentId, IoBuffer Payload);
ZenCacheResult InvokeRpc(const CbObjectView& Request);
+ ZenCacheResult InvokeRpc(const CbPackage& Package);
private:
inline spdlog::logger& Log() { return m_Log; }