aboutsummaryrefslogtreecommitdiff
path: root/src/zen/zen.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2026-02-18 11:28:03 +0100
committerGitHub Enterprise <[email protected]>2026-02-18 11:28:03 +0100
commit149a5c2faa8d59290b8b44717e504532e906aae2 (patch)
tree9c875f1fd89f65f939bf8f6ef67b506565be845c /src/zen/zen.cpp
parentadd selective request logging support to http.sys (#762) (diff)
downloadarchived-zen-149a5c2faa8d59290b8b44717e504532e906aae2.tar.xz
archived-zen-149a5c2faa8d59290b8b44717e504532e906aae2.zip
structured compute basics (#714)
this change adds the `zencompute` component, which can be used to distribute work dispatched from UE using the DDB (Derived Data Build) APIs via zenserver this change also adds a distinct zenserver compute mode (`zenserver compute`) which is intended to be used for leaf compute nodes to exercise the compute functionality without directly involving UE, a `zen exec` subcommand is also added, which can be used to feed replays through the system all new functionality is considered *experimental* and disabled by default at this time, behind the `zencompute` option in xmake config
Diffstat (limited to 'src/zen/zen.cpp')
-rw-r--r--src/zen/zen.cpp39
1 files changed, 23 insertions, 16 deletions
diff --git a/src/zen/zen.cpp b/src/zen/zen.cpp
index 25245c3d2..018f77738 100644
--- a/src/zen/zen.cpp
+++ b/src/zen/zen.cpp
@@ -11,6 +11,7 @@
#include "cmds/cache_cmd.h"
#include "cmds/copy_cmd.h"
#include "cmds/dedup_cmd.h"
+#include "cmds/exec_cmd.h"
#include "cmds/info_cmd.h"
#include "cmds/print_cmd.h"
#include "cmds/projectstore_cmd.h"
@@ -316,22 +317,25 @@ main(int argc, char** argv)
}
#endif // ZEN_WITH_TRACE
- AttachCommand AttachCmd;
- BenchCommand BenchCmd;
- BuildsCommand BuildsCmd;
- CacheDetailsCommand CacheDetailsCmd;
- CacheGetCommand CacheGetCmd;
- CacheGenerateCommand CacheGenerateCmd;
- CacheInfoCommand CacheInfoCmd;
- CacheStatsCommand CacheStatsCmd;
- CopyCommand CopyCmd;
- CopyStateCommand CopyStateCmd;
- CreateOplogCommand CreateOplogCmd;
- CreateProjectCommand CreateProjectCmd;
- DedupCommand DedupCmd;
- DownCommand DownCmd;
- DropCommand DropCmd;
- DropProjectCommand ProjectDropCmd;
+ AttachCommand AttachCmd;
+ BenchCommand BenchCmd;
+ BuildsCommand BuildsCmd;
+ CacheDetailsCommand CacheDetailsCmd;
+ CacheGetCommand CacheGetCmd;
+ CacheGenerateCommand CacheGenerateCmd;
+ CacheInfoCommand CacheInfoCmd;
+ CacheStatsCommand CacheStatsCmd;
+ CopyCommand CopyCmd;
+ CopyStateCommand CopyStateCmd;
+ CreateOplogCommand CreateOplogCmd;
+ CreateProjectCommand CreateProjectCmd;
+ DedupCommand DedupCmd;
+ DownCommand DownCmd;
+ DropCommand DropCmd;
+ DropProjectCommand ProjectDropCmd;
+#if ZEN_WITH_COMPUTE_SERVICES
+ ExecCommand ExecCmd;
+#endif // ZEN_WITH_COMPUTE_SERVICES
ExportOplogCommand ExportOplogCmd;
FlushCommand FlushCmd;
GcCommand GcCmd;
@@ -388,6 +392,9 @@ main(int argc, char** argv)
{"dedup", &DedupCmd, "Dedup files"},
{"down", &DownCmd, "Bring zen server down"},
{"drop", &DropCmd, "Drop cache namespace or bucket"},
+#if ZEN_WITH_COMPUTE_SERVICES
+ {ExecCommand::Name, &ExecCmd, ExecCommand::Description},
+#endif
{"gc-status", &GcStatusCmd, "Garbage collect zen storage status check"},
{"gc-stop", &GcStopCmd, "Request cancel of running garbage collection in zen storage"},
{"gc", &GcCmd, "Garbage collect zen storage"},