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
matt peters
71802fb86c
Analytics: Backed out 22909100 and 22951911
...
#rnx
[CL 23583550 by matt peters in ue5-main branch]
2023-01-04 18:51:41 -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
Zousar Shaker
ec4bec7fbb
Zen server interface changes in support of:
...
1) Zen versioning and installation of newest zen version across workspaces
2) Zen dashboard functionality
#rb tim.smith
#preflight 638f941c0d013d47efce9ed4
[CL 23414336 by Zousar Shaker in ue5-main branch]
2022-12-06 14:37:09 -05:00
dan engelbrecht
5c792dce2f
Fix capitalization of logging in ZenSerialization.cpp
...
#preflight none
#rb none
[CL 23324573 by dan engelbrecht in ue5-main branch]
2022-11-30 04:12:54 -05:00
dan engelbrecht
b244e66921
Change handling of malformed CbPackages from hard error to treating it as a format error with logging
...
#jira UE-171171
#rb stefan.boberg per.larson
#preflight 6385e758337745090052a21a
[CL 23303473 by dan engelbrecht in ue5-main branch]
2022-11-29 06:18:18 -05:00
henrik karlsson
b5164ac775
Fixes to make modules compile with IWYU. We've added to IWYU toolchain so it compiles "orphaned" headers which does not have a owning cpp file. This identified lots of headers that couldn't be compiled by themselves (or if they were to included first)
...
Change consist of only forward declaration and additional includes
#preflight 63789c1de30d438849c48188
#rb none
[CL 23218412 by henrik karlsson in ue5-main branch]
2022-11-21 03:22:23 -05:00
dan engelbrecht
03ed08c265
FORT-535595 IFileManager is not included
...
#preflight 63690771dc30a4ce9634e874
#rb none
[CL 23009665 by dan engelbrecht in ue5-main branch]
2022-11-07 08:32:37 -05:00
dan engelbrecht
d81aef1e6c
Allow support for receiving local file references for cache items
...
Companion PR in zen: https://github.com/EpicGames/zen/pull/184
#rb stefan.boberg
#preflight 6368ce57d0174259cc1e7b7a
[CL 23009037 by dan engelbrecht in ue5-main branch]
2022-11-07 05:33:21 -05:00
Devin Doucette
0db4050542
Zen: Changed the Analytics dependency from public to private
...
#preflight 6362b15954471d10be06613a
#rb none
#rnx
[CL 22924597 by Devin Doucette in ue5-main branch]
2022-11-02 15:43:23 -04:00
mark lintott
c6f8a9e9d9
Removed AnalyticsEventAttribute.h from the ZenServerInterface and VirtualizationManager header
...
#rb paul.chipchase
#jira none
#preflight 63625ed70c2e7c8f91891d11
[CL 22911432 by mark lintott in ue5-main branch]
2022-11-02 08:18:25 -04:00
mark lintott
490070be3c
Decoupled Zen, DerivedDataCache and Virtualization dependency from Studio Analytics. Systems can now register callbacks to append or modify Event payloads to analytics events by name via the FAnalytics interface.
...
#rb Nick.Darnell
#fyi Paul.Chipchase,Zousar.Shaker
#preflight 636248d054471d10bedc3749
[CL 22909100 by mark lintott in ue5-main branch]
2022-11-02 06:56:10 -04:00
carlmagnus nordin
a140b38ac8
Fixed some potential integer overflows in Zen/COTF communication layers
...
#preflight 6350f7a98449f85a479e6746
#jira UE-166519,UE-166521,UE-166522,UE-166525
#rb pj.kack
#lockdown mark.lintott
[CL 22655214 by carlmagnus nordin in ue5-main branch]
2022-10-20 10:21:52 -04:00
Zousar Shaker
30a941b659
Set the working directory when launching zenserver to avoid the working directory being inherited from the running process and leading to issues with that path being in use when it needs to be deleted.
...
#rb matt.peters
#rb FNMain
#preflight 634efe22215dc19825407297
[CL 22610484 by Zousar Shaker in ue5-main branch]
2022-10-18 16:44:32 -04:00
dan engelbrecht
b0b3345d11
Add "Accept" field in Zen RPC request to enable new style RPC responses.
...
See https://github.com/EpicGames/zen/pull/180 for Zen side change.
#rb stefan.boberg zousar.shaker
#preflight 6347c2568a0a7b2adcbe4d71
[CL 22505182 by dan engelbrecht in ue5-main branch]
2022-10-13 11:17:53 -04:00
dan engelbrecht
0f1143130a
Use Http::TryLoadCbPackage as first option to parse packages from Zen.
...
This will allow UE to talk to both old and new zen servers as we move to use the new package wire format in Zen responses.
#rb devin.doucette
#preflight 6334bf81691c0168b71bc0a9
[CL 22233160 by dan engelbrecht in ue5-main branch]
2022-09-28 18:22:23 -04:00