aboutsummaryrefslogtreecommitdiff
path: root/zenserver
Commit message (Collapse)AuthorAgeFilesLines
* Changed oplog ddc property name.deriveddataPer Larsson2022-11-301-1/+1
|
* Minor refactor of cache mapping.Per Larsson2022-11-302-54/+58
|
* Moved DDC reference array out of package meta object.Per Larsson2022-11-241-20/+26
|
* Check content ID before searching CID store.Per Larsson2022-11-231-3/+7
|
* Map DDC cache key to content ID.Per Larsson2022-11-233-42/+170
|
* add "version" command with "detailed" option (#192)Dan Engelbrecht2022-11-211-0/+15
| | | specify host url to query running service version, otherwise you get zen command version
* bump cache large object size limit to 128Kb (#191)Dan Engelbrecht2022-11-211-1/+1
| | | | * bump cache large object size limit to 128Kb * changelog
* changelog and removed obsolete commentDan Engelbrecht2022-11-181-1/+0
|
* Add `import-project` and `export-project` (#183)Dan Engelbrecht2022-11-185-220/+665
| | | * Add `import-project` and `export-project` command line parsing
* move BasicFile to zenutil to remove zenstore dependency from zen command (#190)Dan Engelbrecht2022-11-173-3/+2
|
* Configure OpenID providers from cmd line and Lua cfg. (#189)Per Larsson2022-11-145-6/+75
|
* Support file reference in package message (#184)Dan Engelbrecht2022-11-074-15/+35
| | | | | | | | * Fix packed message parsing for absolute path * Always enable are sharing when opening files as IoBuffers. * Allow control over sending partial files as localfile ref * Check "AcceptFlags" field in RPC message for allowing localfile ref in reply * make oplog entry add operations ZEN_DEBUG level logs * changelog
* fix concurrency issues in projectstore and enable GC (#181)Dan Engelbrecht2022-10-172-276/+644
| | | | | | | | | | | | | | * Fix concurreny issues when deleting projects/oplogs * remove rocksdb test code * project store unit tests * safer deletion of oplogs/projects * reference count ProjectStore::Project to handle lifetime during GC * Don't open all project oplogs unless we need them * Don't scrub expired projects * Don't gather references from expired projects * added logging details for GC * release lock as soon as folder is moved * more tests for project store * changelog
* Add "Accept" field in RPC request to gracefully handle requests from older ↵Dan Engelbrecht2022-10-133-23/+105
| | | | instances (#180)
* disable project store GC (#179)Dan Engelbrecht2022-10-121-1/+2
|
* De/oplog gc lifetime (#178)Dan Engelbrecht2022-10-102-47/+141
| | | | | | | * Make sure we don't use invalidated iterators in projectstore.cpp * project store keeps track of project file and will garbage collect data for a project if the project file no longer exist * Implement GC of projects in project store - still need to fix lifetime issues for Project instances * Add INFO log if project file path is empty in projectstore * changelog
* De/reduce buffer creation in parsepackedmessage (#175)Dan Engelbrecht2022-09-301-7/+7
| | | | | * Don't create call CreateBuffer for attachement data that we only read and not keep * changelog * don't read oplog attachments into memory just to do a redundant store of them
* Use bucket/key to get inline value in upstream for chunks without a chunkid ↵Dan Engelbrecht2022-09-301-3/+6
| | | | (#176)
* Format all rpc package responses using `FormatPackageMessageBuffer` to avoid ↵Dan Engelbrecht2022-09-292-35/+33
| | | | | memory copy (#174) When reading upstream, fall back to old rpc response to handle older instances.
* De/more upstream details (#168)v0.1.6-pre9v0.1.6-pre10Dan Engelbrecht2022-09-223-193/+283
| | | | | | * Pass along endpoint info for each upstream request * Add more timing details in log * more log details for single item upstream fetch * DISABLEDQUERY over SKIP
* Add elapsed seconds per individual request from upstream (#167)Dan Engelbrecht2022-09-212-13/+35
|
* rename URI chunk requests from value -> chunk (#166)Dan Engelbrecht2022-09-196-31/+31
|
* adjusted logging to be more in line with current configDan Engelbrecht2022-09-151-3/+7
|
* fix log messageDan Engelbrecht2022-09-151-1/+1
|
* enable json log file (#164)Dan Engelbrecht2022-09-122-12/+167
| | | | | | * Include source location on ZEN_ERROR and ZEN_CRITICAL * Use proper logging for sentry init status * format file logger as json if .json extension is given * changelog
* create release in Sentry and set version string in executable (#162)Dan Engelbrecht2022-09-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * create release in Sentry and set version string in executable * changelog * 0.1.6-pre0 * sentr-cli install dir * 0.1.6-pre1 * include org and project when creating Sentry release * 0.1.6-pre2 * move org and project options * 0.1.6-pre3 * need to first to "new", then finalize * 0.1.6-pre4 * read version before creating release * 0.1.6-pre5
* only try to parse payload hash if header exists (#163)Dan Engelbrecht2022-09-091-1/+8
| | | | * only try to parse payload hash if header exists * changelog
* Adjust errors vs warnings messages (#160)Dan Engelbrecht2022-09-084-26/+26
| | | | * demote a number of ZEN_ERROR to ZEN_WARN * changelog
* Remove legacy code (#161)Dan Engelbrecht2022-09-081-12/+10
| | | | * changelog * remove obsolete legacy code
* Added CloudCacheSession::GetInlineBlob to properly get CacheValues (#159)Dan Engelbrecht2022-09-073-4/+59
| | | | | * Added CloudCacheSession::GetInlineBlob to properly get CacheValues from Horde Issue #UE-162151 * validate uncompressed binary from Horde "application/x-jupiter-inline" response
* Implement proper GetCacheValues upstream (#155)Dan Engelbrecht2022-09-063-34/+290
| | | | * Implement proper GetCacheValues upstream * changelog
* Fix/safer html folder detection (#153)v0.1.4-pre26Dan Engelbrecht2022-09-051-9/+19
| | | | * safer detection of html folder for frontend in debug mode * changelog
* remove legacy derived data interface for Jupiter (#152)Dan Engelbrecht2022-08-316-118/+7
| | | * remove legacy derived data interface for Jupiter
* Add sentry log sink to capture error/critical log statements (#147)Dan Engelbrecht2022-08-263-6/+62
| | | | Attach log file to sentry error reports Log ERROR when std::terminate() is called
* Use "\\?\" prefixed paths and fix hardcoded path delimiters (#149)Dan Engelbrecht2022-08-263-9/+35
| | | | | | * use "\\?\" prefix for windows paths * fix path delimiters * disable vcpkg caching * Workaround for spdlog not being able to create directories prefixed with `\\?\`
* De/fix crash on non responding upstream (#145)Dan Engelbrecht2022-08-193-27/+61
| | | * Fix ZenStructuredCacheClient lifetime issues
* 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
| |