Commit Graph

53 Commits

Author SHA1 Message Date
matt peters
2d8cad97a6 PakFiles and FileManager: Add IPlatformFile::FDirectoryVisitor::ShouldVisitLeafPath for directory visitors that are ignoring some files, so that FPakFile::ValidateDirectorySearch knows that invalid-to-request files were not requested despite being present in the searched directories.
#rnx
#rb Zousar.Shaker

[CL 28012483 by matt peters in ue5-main branch]
2023-09-19 16:51:05 -04:00
Matt Peters
e69f086889 CookOnTheFly2: Remove duplicate warnings for missing packages requested multiple times, and remove warnings for editor-only packages that are found due to unsolicited loads on the cooker but were not requested by the client. Add packagename to warnings about missing packages.
#jira UE-184879
#rnx
#rb Dan.Englebrecht

[CL 27593637 by Matt Peters in ue5-main branch]
2023-09-05 08:41:53 -04:00
zousar shaker
e330e9d4c9 Target Iteration: Usability improvements to StorageServerConnection/File:
- Set a lower timeout on the duration of initial handshake (5.0 seconds) so that we don't stall for a long time trying to connect to an invalid host
- Provide a descriptive error messagebox when not in unattended mode and we fail to connect to any host
- Avoid attempting to connect to localhost on non-desktop platforms (they can never be the host, and if we're using IPv6 localhost, it can cause them to try an unnecessary name lookup).

#rb dan.engelbrecht

[CL 27326709 by zousar shaker in ue5-main branch]
2023-08-23 19:13:18 -04:00
dan engelbrecht
06d88ac15e Use the already loaded bytes available even if read overlaps boundary of buffer in FStorageServerFileHandle before
#rb pj.kack per.larsson

[CL 26705396 by dan engelbrecht in ue5-main branch]
2023-07-31 10:12:18 -04:00
zousar shaker
c5d05e1f4e 2nd attempt:
Rework zenserver host address detection when using COTF
Make sure .projectstore file is properly staged in all scenarios

#rb zousar.shaker

[CL 26123110 by zousar shaker in ue5-main branch]
2023-06-20 10:53:32 -04:00
zousar shaker
71aecc1264 [Backout] - CL26049351
[FYI] dan.engelbrecht
Original CL Desc
-----------------------------------------------------------------
Rework zenserver host address detection when using COTF
Make sure .projectstore file is properly staged in all scenarios

#rb zousar.shaker

[CL 26085241 by zousar shaker in ue5-main branch]
2023-06-19 02:23:59 -04:00
dan engelbrecht
9679996964 Rework zenserver host address detection when using COTF
Make sure .projectstore file is properly staged in all scenarios

#rb zousar.shaker

[CL 26049362 by dan engelbrecht in ue5-main branch]
2023-06-16 09:32:36 -04:00
dan engelbrecht
20799c9f48 Store cooker computer remote ips in .projectstore
#rb zousar.shaker

[CL 26006400 by dan engelbrecht in ue5-main branch]
2023-06-15 04:51:13 -04:00
dan engelbrecht
ea0aa7d6b5 Simplify detection of .projectstore file by using the relative content root
#rb pj.kack
#preflight 646e26bf64351d76f3a675ea

[CL 25617036 by dan engelbrecht in ue5-main branch]
2023-05-25 03:42:09 -04:00
Zousar Shaker
e3a89ca975 Fix bug with handling of IPV6 addresses in StorageServerConnection.
#rb dan.englebrecht
#preflight 64551662994d8a3d0a28a61b

[CL 25354673 by Zousar Shaker in ue5-main branch]
2023-05-05 10:57:18 -04:00
dan engelbrecht
96500c25d1 Automatically detect a if a staged target is using zenstore without pak and configure zenserver host and project id.
#jira UE-144425
#rb zousar.shaker pj.kack
#preflight 64427d5b4944ef78923c85b6

[CL 25144415 by dan engelbrecht in ue5-main branch]
2023-04-21 08:56:22 -04:00
carlmagnus nordin
ecfc01c258 ZenLoader: Include preload dependencies in package headers instead of relying on predetermined export bundle dependencies. This means that each package can be treated in isolation when staging. Also removes the need to keep track of export and bundle counts in the package store which saves some memory.
#preflight 642e8838441e8b2f5506dbb4
#rb pk.kack,per.larsson,francis.hurteau

[CL 24944233 by carlmagnus nordin in ue5-main branch]
2023-04-06 10:50:30 -04:00
dan engelbrecht
db5e568754 Game client no longer needs -zenstoreproject or -zenstorehost arguments to correctly run with a COTF server which uses Zen.
Game client now accepts only -filehostip for connection to a CTOF server, -cookonthefly is no longer necessary and is ignored.
Game client will now receive ProjectName (ProjectId), Platform (OplogId), Zen server host name and port from COTF server if running with zenstore.
Fixed issues with generating the ProjectId from a path where drive letters where lower case.

#rb zousar.shaker pj.kack
#preflight

[CL 24889513 by dan engelbrecht in ue5-main branch]
2023-04-03 01:51:40 -04:00
henrik karlsson
d9558842e3 Some more non unity/pch compile errors for linux target
#preflight skipped
#rb none

[CL 23595328 by henrik karlsson in ue5-main branch]
2023-01-05 20:28:13 -05:00
carlmagnus nordin
7f3ab05f30 ZenIoDispatcher: Complete and delete batches when shutting down
#preflight 637f64814004f73f6273aa03
#rb per.larsson

[CL 23259397 by carlmagnus nordin in ue5-main branch]
2022-11-24 10:08:16 -05:00
carlmagnus nordin
ffd1e2abfb ZenCook: Use the oplog for package store entries instead of writing a container header
#preflight 63720da8ee4d25f90aacf4dd
#rb per.larsson

[CL 23116204 by carlmagnus nordin in ue5-main branch]
2022-11-14 06:35:53 -05:00
henrik karlsson
8f895fef35 Added includes needed after removing includes in headers
#preflight 6360b63e41625be270a6e464
#rb none

[CL 22888775 by henrik karlsson in ue5-main branch]
2022-11-01 15:14:15 -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
dan engelbrecht
76b1a63890 Fix for reading partial compressed buffers from zenserver project store.
#rb per.larsson
#preflight none

[CL 22653724 by dan engelbrecht in ue5-main branch]
2022-10-20 08:56:09 -04:00
Per Larsson
682d39ed7e COTF2 - refactored package store synchronization to handle Begin/End lock
#rb CarlMagnus.Nordin
#jira UE-158341
#preflight 631076dbe54ec9d581cec8dc

[CL 21738832 by Per Larsson in ue5-main branch]
2022-09-01 08:57:12 -04:00
Devin Doucette
ce646af39a StorageServerClient: Drive-by cleanup of includes
#preflight 62cf271cea2e46072f13db6a
#rb Zousar.Shaker
#rnx

[CL 21080562 by Devin Doucette in ue5-main branch]
2022-07-13 16:47:43 -04:00
Per Larsson
279fb731e9 Zen: Fixed error converting non null terminated error string from ANSI to TCHAR
#rb Martin.Ridgers
#preflight 62c432da5751c96193c966cd
#rnx

[CL 20941128 by Per Larsson in ue5-main branch]
2022-07-05 09:30:59 -04:00
Ben Marsh
b1dff0067a Fix static analysis warning (declaring virtual methods in final class is pointless)
#preflight none
#fyi CarlMagnus.Nordin

[CL 20486300 by Ben Marsh in ue5-main branch]
2022-06-03 10:46:48 -04:00
CarlMagnus Nordin
3d5a2052dc AsyncLoading2: Add support for having multiple PackageStore backends
#preflight 6296fc872a1851b4ccae7e39
#rb pj.kack

[CL 20447121 by CarlMagnus Nordin in ue5-main branch]
2022-06-01 02:12:33 -04:00
devin doucette
b2a07ea03e DDC: Merge from UE5/Main
#preflight 6288ff678828ea88c8af7034
#preflight 628ab5d93246d5019db76ed2
#rb none
#rnx

#ROBOMERGE-OWNER: devin.doucette
#ROBOMERGE-AUTHOR: Devin.Doucette
#ROBOMERGE-SOURCE: CL 20353148 via CL 20353832 via CL 20353839
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v948-20297126)

[CL 20355348 by devin doucette in ue5-main branch]
2022-05-24 16:40:25 -04:00