Commit Graph

20 Commits

Author SHA1 Message Date
zousar shaker
1f882532dc Ensure that if ZenServer uses a different effective port than its desired port that Autolauch and shutdown operate with the appropriate effective port.
#rb devin.doucette
[FYI] dan.engelbrecht

[CL 24436800 by zousar shaker in ue5-main branch]
2023-02-27 20:56:22 -05:00
chris constantinescu
cd0c323c11 LLT options: Stub platform file and mock some default engine resources for low level tests that run with the engine.
- bUsePlatformFileStub = true replaces the default platform file. The default PF is saved and can be reused at any time.
The side effect is lots of warnings for missing files and object loading errors which is acceptable for low level tests.
- bMockEngineDefaults = true sets some mandatory engine defaults (materials, fonts etc) that can only be loaded from cooked assets.
#jira UE-178194
#rb Ryan.Gerleve
#preflight 63f8e7051206d91a2bd8b0cd

[CL 24407283 by chris constantinescu in ue5-main branch]
2023-02-24 15:27:37 -05:00
dan engelbrecht
ea2cde3944 Resolve locatization Horde issue 267733.
Use unique keys for NSLOCTEXT in ZenServerInstance.cpp

https://horde.devtools.epicgames.com/job/63f84478697ad0eddb32c990?step=9317&issue=267733

#preflight none

[CL 24397530 by dan engelbrecht in ue5-main branch]
2023-02-24 02:58:58 -05:00
dan engelbrecht
775a1ff0b9 More hardening on error cases when autolaunching zenserver.
Replace some checks causing crashes to errors/warning and exit.

#preflight 63f5de4e9129b42b252fd98b
#rb martin.ridgers

[CL 24380815 by dan engelbrecht in ue5-main branch]
2023-02-23 10:55:10 -05:00
dan engelbrecht
87947cb177 Issue 266313 Static analyzer warnings in ZenServerInterface.cpp, take 2
#preflight 63f5d0249b26c4957e674738

[CL 24357529 by dan engelbrecht in ue5-main branch]
2023-02-22 03:39:26 -05:00
dan engelbrecht
cda657f71a Issue 266313 Static analyzer warnings in ZenServerInterface.cpp
#preflight 63f51a1dff5afbbb0336b912

[CL 24346779 by dan engelbrecht in ue5-main branch]
2023-02-21 14:35:08 -05:00
dan engelbrecht
d73de02d58 Improved logic for installing new version of zenserver.
- Use shared ZenServerState to get zen instance state to better identify processes and port usage
- Check is the process is running using Pid and process handle instead of checking for locked files
- Make sure we update cached zen.version for InTree version even if there is no current installation
- Add `-ForceZenInstall` option to force an install of InTree version even if installed version is the same or newer (enables downgrading)
- More logging added

#preflight 63ee350e5c7bd278c137a6f2
#jira UE-176908

[CL 24339827 by dan engelbrecht in ue5-main branch]
2023-02-21 10:38:15 -05:00
dan engelbrecht
5aa043a2e5 Fix race condition when shutting down zenserver via zen autolaunch.
#jira FORT-563412
#preflight 63eb5057205b5ccbc7d415d8
#rb martin.ridgers

[CL 24206950 by dan engelbrecht in ue5-main branch]
2023-02-14 04:51:30 -05:00
dan engelbrecht
2cb1a6457d Ensure we properly wait for running zen server executable to exit when upgrading
#jira FORT-563412
#preflight 63e62c0f8917c5deac6807b5
#rb zousar.shaker

[CL 24182943 by dan engelbrecht in ue5-main branch]
2023-02-13 14:23:19 -05:00
zousar shaker
134e776ed3 Avoid use of the socket subsystem's GetAddressFromString API because it doesn't do name resolving and limits us to IP addresses when connecting to ZenServer. Name resolving would cause potential stalls in the "IsLocalHost" check, so instead we're limiting ourselves to only considering a set of well-known strings as being localhost: {"localhost, "127.0.0.1", "[::1]"}.
#rb devin.doucette

[CL 23836634 by zousar shaker in ue5-main branch]
2023-01-24 15:15:02 -05:00
zousar shaker
4ccc770ffb Fix for escaped character handling when a Local DDC path is stored with escaped characters in the EditorSettings.
[CL 23748783 by zousar shaker in ue5-main branch]
2023-01-17 19:10:35 -05:00
dan engelbrecht
11b08828ee Output zen command utility output to log if it returns an error code
#rb zousar.shaker
#preflight 63bd2a24577437afe6308469 (preflight failed for other reasons but this change works as expected showing the error details)

[CL 23659774 by dan engelbrecht in ue5-main branch]
2023-01-12 02:57:10 -05:00
mark lintott
8bad2c0365 Removed the callback system from core Analytics system. Fixed up analytics gathering in DerivedDataCache, Virtualization and HttpCacheStore
#rb wes.hunt
#preflight 63be95bd68068a8bd6a4438e

[CL 23651011 by mark lintott in ue5-main branch]
2023-01-11 14:28:01 -05:00
zousar shaker
bb6b5527df Fix for Zen GC methods removed when merging.
#rb matt.peters

[CL 23595127 by zousar shaker in ue5-main branch]
2023-01-05 19:52:49 -05:00
matt peters
12eae8b448 Missing changes from robomerge of CL 23582398.
ZenServerInterface.cpp and ZenServerInterface.h are moved files and need to be updated in their new location.
#preflight None, fixing build break
#rb None, trivial
#rnx

[CL 23583555 by matt peters in ue5-main branch]
2023-01-04 18:51:46 -05:00
Zousar Shaker
624d3b7dbf Add support for Zen DDC sandboxes which are separate instances of zenserver with separate data paths and can be optionally flushed from run-to-run. It is used to implement Warm and Cold DDC graphs using Zen sandboxes for projects/platforms that use Zen for local DDC by default, and to provide new ZenColdDDC and ZenWarmDDC as new graphs that have Cold/Warm behavior for projects that don't use Zen for local DDC by default.
#rb devin.doucette
#preflight 63b493d5202bee5e27a645ed

[CL 23569648 by Zousar Shaker in ue5-main branch]
2023-01-03 15:58:30 -05:00
Zousar Shaker
e27b568f2e Add capability for things that depend on the Zen service to attempt to recover the service if there is an interruption. The Zen DDC cache store is using this to allow recovery and retry of a cache request that fails to connect or times out when communicating with a Zen service on the same machine.
#rb devin.doucette
#preflight 639cc26343330e63e5db1750

[CL 23541143 by Zousar Shaker in ue5-main branch]
2022-12-16 15:47:14 -05:00
Zousar Shaker
e7fb0b1751 Ensure that Zen as a local service can be configured to follow the same commandline overrides as a filesystem cache store. Also ensure that if the configured override mechanisms for cache store paths yield a path of "None" that we disable the Zen DDC cache. These are in support of using Zen as a drop-in replacement for an existing filesystem DDC store.
#rb devin.doucette
#preflight 6398ea4e680483bcb1057b0a

[CL 23517045 by Zousar Shaker in ue5-main branch]
2022-12-14 15:06:30 -05:00
Zousar Shaker
b9548ddad4 Move Zen module public headers into an "Experimental" subfolder to have them reflect the feature status.
Fix locations that include the headers to use the "Experimental" subfolder and re-sort includes.  No functional change, purely a move, search+replace, and sort of includes.

#rb matt.peters
#preflight 63939eebc415e8dc78d35d63

[CL 23468934 by Zousar Shaker in ue5-main branch]
2022-12-09 16:11:41 -05:00
Zousar Shaker
0ced2fcb6e Move Zen module source files into Private folder instead of Internal.
#rb none,FileMoveOnly
#preflight 638fc8689549ddaa288d768d

[CL 23419280 by Zousar Shaker in ue5-main branch]
2022-12-06 18:22:47 -05:00