aboutsummaryrefslogtreecommitdiff
path: root/src/zen/cmds/projectstore_cmd.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2025-12-10 10:37:00 +0100
committerGitHub Enterprise <[email protected]>2025-12-10 10:37:00 +0100
commitf5505816af7a9d8f7f06f7afaa090bf1d4d2b447 (patch)
treeabc2ea571d58b24acfd35eb5d0ec09104754c463 /src/zen/cmds/projectstore_cmd.cpp
parentfix reading of stale iterator when doing download-resume (#681) (diff)
downloadarchived-zen-f5505816af7a9d8f7f06f7afaa090bf1d4d2b447.tar.xz
archived-zen-f5505816af7a9d8f7f06f7afaa090bf1d4d2b447.zip
fix buffer memory in builds cache (#682)
* add --zen-cache-upload option to zen oplog-import command * fix buildstoragecache to not hold on to possibly materialized buffers
Diffstat (limited to 'src/zen/cmds/projectstore_cmd.cpp')
-rw-r--r--src/zen/cmds/projectstore_cmd.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/zen/cmds/projectstore_cmd.cpp b/src/zen/cmds/projectstore_cmd.cpp
index 4fdbd3b0d..b6af2176e 100644
--- a/src/zen/cmds/projectstore_cmd.cpp
+++ b/src/zen/cmds/projectstore_cmd.cpp
@@ -1385,6 +1385,12 @@ ImportOplogCommand::ImportOplogCommand()
m_Options
.add_option("builds", "", "zen-cache-host", "Host ip and port for zen builds cache", cxxopts::value(m_ZenCacheHost), "<zenhost>");
+ m_Options.add_option("builds",
+ "",
+ "zen-cache-upload",
+ "Upload data downloaded from remote host to zen cache",
+ cxxopts::value(m_UploadToZenCache),
+ "<uploadtozencache>");
m_Options.add_option("builds", "", "builds-id", "Builds Id", cxxopts::value(m_BuildsId), "<id>");
m_Options.add_option("", "", "zen", "Zen service upload address", cxxopts::value(m_ZenUrl), "<url>");