aboutsummaryrefslogtreecommitdiff
path: root/zenserver
Commit message (Collapse)AuthorAgeFilesLines
* Make cas storage an hidden implementation detail of CidStore (#130)v0.1.4-pre6v0.1.4-pre5Dan Engelbrecht2022-06-1716-672/+292
| | | | | | | | | | | | | | | | | | - Bumped ZEN_SCHEMA_VERSION - CasStore no longer a public API, it is hidden behind CidStore - Moved cas.h from public header folder - CidStore no longer maps from Cid -> Cas, we store entries in Cas under RawHash - CasStore now decompresses data to validate content (matching against RawHash) - CasChunkSet renames to HashKeySet and put in separate header/cpp file - Disabled "Chunk" command for now as it relied on CAS being exposed as a service - Changed CAS http service to Cid http server - Moved "Run" command completely inside ZEN_WITH_EXEC_SERVICES define - Removed "cas.basic" test - Uncommented ".exec.basic" test and added return-skip at start of test - Moved ScrubContext to separate header file - Renamed CasGC to GcManager - Cleaned up configuration passing in cas store classes - Removed CAS stuff from GcContext and clarified naming in class - Remove migration code
* Make sure we don't try to create a ZipFS IoBuffer of zero sizeDan Engelbrecht2022-06-151-1/+7
|
* review feedbackDan Engelbrecht2022-06-141-43/+42
|
* small cleanupDan Engelbrecht2022-06-141-4/+1
|
* clang formatDan Engelbrecht2022-06-141-1/+1
|
* Add validation to ZenCacheDiskLayer::CacheBucket::ScrubDan Engelbrecht2022-06-131-24/+120
|
* removed more unnecessary CasStore related codeStefan Boberg2022-06-131-2/+0
|
* removed unnecessary CasStore forward declarationsStefan Boberg2022-06-132-2/+0
|
* removed LocalProjectService prototypeStefan Boberg2022-06-134-338/+10
|
* Merge branch 'main' of https://github.com/EpicGames/zenStefan Boberg2022-06-118-133/+148
|\
| * Merge branch 'main' of https://github.com/EpicGames/zenStefan Boberg2022-06-101-5/+7
| |\
| | * namespace/bucket validation now uses AsciiSet for more efficient validation ↵Stefan Boberg2022-06-101-5/+7
| | | | | | | | | | | | (#127)
| * | clang-format fixesStefan Boberg2022-06-101-1/+1
| |/
| * frontend: simplified content-type logicStefan Boberg2022-06-101-26/+15
| |
| * fixed issue where projects would not be discovered via DiscoverProjects due ↵Stefan Boberg2022-06-102-11/+102
| | | | | | | | | | | | to use of stem() vs filename() added /prj/{project}/oplog/{log}/{op} endpoint to allow retrieval of an op entry by LSN. Supports returning CbObject or CbPackage format payloads
| * sentry: added logging of sentry_init error codeStefan Boberg2022-06-101-1/+1
| |
| * zenserver: removed unimplemented SOS interfaceStefan Boberg2022-06-102-66/+0
| |
| * Enable adding namespace to URI based upstream requestsDan Engelbrecht2022-06-081-24/+23
| |
* | fixed mac build ("unused" variable)Stefan Boberg2022-06-111-0/+2
|/
* Corrected some typos in log messagesStefan Boberg2022-06-081-3/+5
|
* Merge branch 'main' into de/add-log-for-invalid-namesDan Engelbrecht2022-06-081-2/+2
|\
| * Use m_BucketDir for cache key contextDan Engelbrecht2022-06-081-2/+2
| | | | | | | | Easier to debug and no conflicts
| * We need to make each Cache Key contribution per bucket unique even across ↵Dan Engelbrecht2022-06-071-2/+2
| | | | | | | | namespaces
* | add warnings on illegal namespace/bucket namesDan Engelbrecht2022-06-081-0/+5
|/
* Don't hold index lock while reading standalone valuesDan Engelbrecht2022-06-031-0/+2
| | | | Can cause deadlock
* hardening of ZenCacheDiskLayer::CacheBucket::PutStandaloneCacheValueDan Engelbrecht2022-06-031-13/+36
|
* keep "reason" from upstream response so we can present it even if the ↵Dan Engelbrecht2022-06-011-9/+19
| | | | request fails without outright error
* option descriptionDan Engelbrecht2022-06-011-1/+1
|
* Make it possible to configure GC monitoring intervalDan Engelbrecht2022-06-013-6/+16
| | | | | command line: --gc-monitor-interval-seconds lua: monitorintervalseconds
* remove unused parameterDan Engelbrecht2022-05-311-7/+4
|
* Remove namespace from HTTP URI style request in upstream until shared ↵Dan Engelbrecht2022-05-311-16/+20
| | | | instances are deployed with version that support si
* add comment about removing filesDan Engelbrecht2022-05-301-0/+1
|
* Enable FILE_SHARE_DELETE on standalone files in disk bucketsDan Engelbrecht2022-05-281-107/+77
| | | | | | | | This allows us to delete the file even if it is open for read. We do a delete, the rename since we are not allowed to do a rename-overwrite, only delete. As we have the shard lock for the file we want to replace we can safely do a delete+rename. In the rare case that we fail to rename the file into place the old data is lost. As this is a *cache* and it should be very rare this is OK.
* Horde execute compressed input blobs (#109)Joe Kirchoff2022-05-271-40/+123
|
* NameSpaceMap -> NamespaceMapDan Engelbrecht2022-05-251-2/+2
|
* bugfixes and test for namespace dropDan Engelbrecht2022-05-251-15/+92
|
* clean up namespace foldersDan Engelbrecht2022-05-251-36/+42
|
* namespace dropDan Engelbrecht2022-05-253-12/+38
|
* Make sure ZenCacheMemoryLayer handles dropped buckets correctly (just like ↵Dan Engelbrecht2022-05-252-36/+95
| | | | ZenCacheDiskLayer)
* dropIndex -> DropIndexDan Engelbrecht2022-05-251-3/+3
|
* If a bucket is in m_BucketMap it is OK, no need for separate flagDan Engelbrecht2022-05-252-59/+22
|
* drop bucket testDan Engelbrecht2022-05-241-0/+73
|
* Use rename/delete and keep pointer for dropped bucketsDan Engelbrecht2022-05-242-77/+129
|
* Make sure to hold exclusive lock over index and all shard locks.Dan Engelbrecht2022-05-241-1/+9
| | | | Clear index on drop.
* Merge pull request #102 from EpicGames/de/auto-create-namespacesDan Engelbrecht2022-05-243-21/+65
|\ | | | | Automatically create namespaces on requests (if enabled via configuration)
| * Automatically create namespaces on requests (if enabled via configuration)Dan Engelbrecht2022-05-203-21/+65
| |
* | De/fix namespace folder scanning (#103)Dan Engelbrecht2022-05-231-1/+1
| |
* | Add catch2 support (#101)Stefan Boberg2022-05-201-3/+2
|/ | | | | | | Added option to use catch2 for unit tests Currently both doctest and catch2 are supported via some compatibility macros. doctest is the default, and ZEN_USE_CATCH2 needs to be defined to switch to catch2. Our goal is to evaluate how well catch2 works and switch to catch2 if everything pans out since UE5 now supports using catch2 for unit tests.
* fix mac compilation errorDan Engelbrecht2022-05-191-1/+1
|
* Merge pull request #99 from EpicGames/de/move-namespace-fieldDan Engelbrecht2022-05-198-169/+298
|\ | | | | Keep Namespace out of CacheKey and store it on request level