aboutsummaryrefslogtreecommitdiff
path: root/zenserver
Commit message (Collapse)AuthorAgeFilesLines
* Some minor cleanupStefan Boberg2022-02-022-37/+21
|
* Mash -> MeshTrackerStefan Boberg2022-02-023-13/+19
|
* clang-formatStefan Boberg2022-02-022-9/+9
|
* Cache policy support (#47)mattpetersepic2022-02-014-345/+1161
| | | | | | | | Add HandleRpc methods for the remaining ICacheStore requests from unreal: PutCacheValues/GetCacheValues. We now have batched versions for PutCacheRecords,GetCacheRecords,PutCacheValues,GetCacheValues,GetCacheChunks. Add support for CachePolicy flags to all of these batched methods. * Add Batched PutCacheValues/GetCacheValues. Rename old GetCacheValues to GetCacheChunks. * HandleRpcGetCacheRecords: Receive a CacheRecordPolicy with each key, and skipdata on attachments we already have. * Changes to CachePolicy copied from Release-5.0 depot. Change serialization to use the key BasePolicy instead of DefaultValuePolicy. * GetChunks: Read CacheRecords from remote if necessary to find ContentId. Implement QueryLocal, StoreLocal, and SkipData.
* Merge branch 'main' of https://github.com/EpicGames/zenStefan Boberg2022-01-307-257/+531
|\
| * Merge branch 'main' of https://github.com/EpicGames/zenStefan Boberg2022-01-287-255/+529
| |\
| | * Compile fixMartin Ridgers2022-01-281-1/+0
| | |
| | * Rename Paylod to Value to match the client side: missing file from previous ↵Matt Peters2022-01-271-1/+1
| | | | | | | | | | | | commit.
| | * Rename Paylod to Value to match the client side. Rename PayloadId to ↵mattpetersepic2022-01-276-125/+131
| | | | | | | | | | | | ValueContentId where its a hash instead of an oid.
| | * Add batched CacheRecord put rpc (#38)mattpetersepic2022-01-272-17/+187
| | | | | | | | | * Add batched CacheRecord put rpc
| | * Handle HTTP port collisions when initializing server (#40)zousar2022-01-271-11/+20
| | |
| | * Implement SkipData,QueryLocal,StoreLocal for HandleRpcGetCacheRecords (#41)mattpetersepic2022-01-262-63/+118
| | | | | | | | | * Implement SkipData,QueryLocal,StoreLocal for HandleRpcGetCacheRecords.
| | * Implement SkipData,QueryLocal,StoreLocal for GET-verb CacheGet requests (#39)mattpetersepic2022-01-261-40/+75
| | | | | | | | | * Implement SkipData,QueryLocal,StoreLocal for GET-verb CacheGet requests
| * | Structured cache PUTs now preserve content type for binary and compressed binaryStefan Boberg2022-01-281-2/+2
| |/
* / TraceInit can now be initialized with "None" tracing modeStefan Boberg2022-01-301-0/+4
|/
* Fixed issue with missing endpoint name when configuring upstream cache from Lua.Per Larsson2022-01-264-18/+33
|
* Temporary fix for ZEN_ASSERT(!Options.Name.empty()) failing when running as ↵Matt Peters2022-01-251-0/+4
| | | | a service.
* Merge branch 'main' of https://github.com/EpicGames/zenStefan Boberg2022-01-255-190/+165
|\
| * Cachepolicy (#36)mattpetersepic2022-01-253-185/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Copy CachePolicy implementation from UE5/Release-5.0. Add backwards compatability for clients and upstreams that are using the old protocol. * Add RefPtr templated move operator and constructor, so that RefPtr<const Foo*> A = std::move(RefPtr<Foo*>()) will do a move. * Fix broken CachePolicy tests and add tests for new Save/Load. * Remove TODO comments * CachePolicy Save/Load Fixes from codereview * Fix comment to match code change. * Remove backwards compatibility for CachePolicy change. Convert policy string tokens to PascalCase. Fix tests for new policy text. Change ParseCachePolicy to assert string is non-empty and always succeed. * Fix release build: use ZEN_WITH_TESTS define
| * Mac compile fixMartin Ridgers2022-01-251-1/+1
| |
| * Command line paths containing whitespace were getting truncatedMartin Ridgers2022-01-251-4/+18
| |
* | Implemented support for storing compressed buffers as values in structured ↵Stefan Boberg2022-01-252-4/+14
|/ | | | cache store
* Fixed missing object in project oplog response.Per Larsson2022-01-241-1/+5
|
* Refactored upstream cache to better handle different states in prep for ↵Per Larsson2022-01-2414-439/+804
| | | | dynamic auth tokens.
* Format fix.Per Larsson2022-01-226-22/+26
|
* Use ExtendablePathBuilderszousar2022-01-211-3/+3
| | | | Remove uses of non-extendable path builders to avoid limitations around path length outside of the low level file access layer.
* Fixed missing object in cache bucket manifest.Per Larsson2022-01-211-1/+5
|
* Added copyright headers to xmake.lua scriptsMartin Ridgers2022-01-201-0/+2
|
* Change default windows state dirzousar2022-01-181-42/+9
| | | | Default windows state dir now is C:\ProgramData\Epic\Zen\Data. Also functional for Windows Service unlike the MyDocuments directory. No longer attempt search for largest drive if MyDocuments is not available.
* IoRunner join error fixzousar2022-01-181-1/+4
| | | | Fix crash on shutdown if m_IoRunner was not joinable. Experienced when running windows service.
* Support chunk requests with no ValueId, and interpret them as requested for ↵mattpetersepic2022-01-171-22/+33
| | | | values put with the PutValue API, which sends a package with RawHash and RawSize on the root object. (#35)
* Disabled Sentry on Arm as vcpkg does not support itMartin Ridgers2022-01-141-1/+6
|
* Added ZEN_ prefix to define for consistencyMartin Ridgers2022-01-131-5/+5
|
* Do not try to define USE_SENTRY if it's already definedMartin Ridgers2022-01-131-1/+3
|
* Format string had more tags than given parametersMartin Ridgers2022-01-131-1/+1
|
* Moved "concepts" include to zencore.h as toolchain support is spottyMartin Ridgers2022-01-131-2/+0
|
* Handle PartialOnError cache policy when using z$ rest endpoint.Per Larsson2022-01-121-63/+71
|
* Changed DDC namespace on Jupiter dev.Per Larsson2022-01-111-2/+2
|
* Merge branch 'main' of https://github.com/EpicGames/zenPer Larsson2022-01-111-9/+17
|\
| * Required linker frameworks on Mac for zenserverMartin Ridgers2022-01-111-0/+10
| |
| * Sorted packages as sorted lists merge more reliablyMartin Ridgers2022-01-111-5/+5
| |
| * Consolidated two add_packages() callsMartin Ridgers2022-01-111-4/+2
| |
* | Fixed missing content type when storing cache values.Per Larsson2022-01-111-7/+7
|/
* Merged main.Per Larsson2022-01-1114-146/+99
|\
| * Not all toolchains support C++20's atomic<double>::fetch_add()Martin Ridgers2022-01-112-18/+17
| |
| * Apple Clang issues fmt::format compile errors for enum class-type argsMartin Ridgers2022-01-101-2/+2
| |
| * std::jthread is not supported on Apple ClangMartin Ridgers2022-01-101-2/+3
| |
| * Moving a temporary prevents copy elision optimizationMartin Ridgers2022-01-101-1/+1
| |
| * Two missing override keywordsMartin Ridgers2022-01-101-2/+2
| |
| * Unused lambda capture compile errorMartin Ridgers2022-01-101-1/+1
| |