aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Call gettid syscall directly as gettid() is not available in earlier glibcMartin Ridgers2023-02-021-1/+2
|
* Fix Clang warning about bitwise ops on boolean valuesMartin Ridgers2023-02-021-1/+1
|
* Updated README.mdStefan Boberg2023-02-011-2/+10
|
* Update README.mdStefan Boberg2023-02-011-9/+6
|
* added `xmake sln` task which replaces `generate_projects.bat`Stefan Boberg2023-02-012-1/+9
|
* Clean up project store file structure (#218)Dan Engelbrecht2023-02-0110-716/+656
| | | | * move project store to separate folder * moved import/export project commands into projectstore cmd files
* fix formatting of zenutil/include/zenutil/zenserverprocess.hDan Engelbrecht2023-01-311-1/+1
|
* Merge branch 'main' of https://github.com/EpicGames/zenStefan Boberg2023-01-301-2/+1
|\
| * Disable upstream in default zen configzousar2023-01-261-2/+1
| | | | | | | | Removing unused "enabled" attribute on upstream config and using the "policy" attribute instead to disable the upstream.
| * Change config to disable upstream by defaultzousar2023-01-261-1/+1
| |
* | added note in CHANGELOG.mdStefan Boberg2023-01-261-0/+1
|/ | | | should have been part of previous commit
* Merge branch 'main' of https://github.com/EpicGames/zenStefan Boberg2023-01-263-113/+171
|\
| * Retain memory buffer when replaying oplog (#216)Dan Engelbrecht2023-01-262-3/+8
| | | | | | | | * Retain memory buffer when replaying oplog * changelog
| * Better error responses/logging in project store request (#217)Dan Engelbrecht2023-01-263-110/+163
| | | | | | | | * Better error responses/logging in project store request * changelog
* | removed some more mesh related debrisStefan Boberg2023-01-263-8/+0
| |
* | mergeStefan Boberg2023-01-2619-2062/+1504
|\|
| * Fixed macro leaking outMartin Ridgers2023-01-251-0/+2
| |
| * Updated Trace from Main at 23846526Martin Ridgers2023-01-251-561/+1415
| |
| * 0.2.2v0.2.2Dan Engelbrecht2023-01-251-1/+1
| |
| * 0.2.2-pre0v0.2.2-pre0Dan Engelbrecht2023-01-241-1/+1
| |
| * changelogDan Engelbrecht2023-01-241-8/+13
| |
| * removed HttpLaunchService and related codeStefan Boberg2023-01-248-1050/+6
| | | | | | | | this was used for testing but is no longer wanted in this form
| * removed HttpLaunchService and related codeStefan Boberg2023-01-241-7/+0
| | | | | | | | this has been used for testing purposes but should not be in the production executable
| * removed dead/experimental file system related codeStefan Boberg2023-01-246-430/+0
| |
| * removed faux vfs config optionStefan Boberg2023-01-241-8/+0
| |
| * added precommit taskStefan Boberg2023-01-241-0/+9
| | | | | | | | | | this makes it easier to trigger a local pre-commit check which is useful for ensuring clang-format etc has been applied properly prior to a commit
| * Added version information to server executable (#215)Stefan Boberg2023-01-244-0/+60
| | | | | | | | | | This change adds some version and product information to the Windows executable, in order to make it easier for users to understand the purpose of the zenserver.exe process when they see it in Task Manager and on disk It also adds back the executable icon which was lost when we transitioned from the previous sln build process
* | removed experimental mesh codeStefan Boberg2023-01-267-421/+0
|/ | | | should be replaced with a proper implementation later
* fix gc logging (#213)Dan Engelbrecht2023-01-133-30/+43
| | | | | | * Don't output time to next GC if time is "infinite". * Do immediate check of GC status on thread startup instead of waiting montior intervall first. * set up reasonable gc defaults * changelog
* zen command line tool improvements (#212)Dan Engelbrecht2023-01-1331-99/+519
| | | | | | | | | | | | - Feature: zen command line tool `cache-info` to show cache, namespace or bucket info - Feature: zen command line tool `project-info` to show store, project or oplog info - Feature: zen command line tool `project-drop` to drop project or oplog - Feature: zen command line tool `gc` to trigger a GC run - Feature: zen command line tool `gc-info` to check status of GC - Improvement: zen command line tool now fails on any unrecognized arguments - Improvement: zen command line tool now displays extra help for all sub-commands - Improvement: host address can now be configured for zen command line tool `drop` command changelog
* Add info (GET) endpoints for structured cache (#211)Dan Engelbrecht2023-01-117-60/+424
| | | | | | | * Add GET requests on cache/namespace/bucket level * Add root route for project store requests (same as /list) * Add markerpath to oplog info object * Add totalsize, opcount and expired to oplog info * Changelog
* 0.2.1v0.2.1Dan Engelbrecht2022-12-161-1/+1
|
* Fix log index snapshot (#210)Dan Engelbrecht2022-12-166-26/+40
| | | | | | * Fix log reading for structured cache store Make sure cache is flushed at exit * dont flush index to disk unless new entries have been written * changelog
* oplog level GC (#209)Dan Engelbrecht2022-12-143-43/+212
| | | | | | | | Adds check for marker file supplied by UE to see if an oplog is expired (user has deleted the corresponding cooked folder). Fixed concurrency vulnerabilities is project store related to oplogs. * fix concurrency vulnerabilities * propagate lifetime file path * oplog level gc * changelog
* Changed so CompressedBuffer::DecodeRawHash returns IoHash just like on the ↵Stefan Boberg2022-12-129-51/+47
| | | | | | UE side (#208) removed all use of IoHash::FromBLAKE3() caused by interactions with CompressedBuffer APIs
* added [[fallthrough]] annotations to silence static analysisStefan Boberg2022-12-121-0/+20
|
* Update README.mdStefan Boberg2022-12-101-1/+1
|
* version 0.2.0v0.2.0Dan Engelbrecht2022-12-081-1/+1
|
* 0.2.0-pre2v0.2.0-pre2Dan Engelbrecht2022-12-081-1/+1
|
* Path from handle perf improvement (#206)Dan Engelbrecht2022-12-082-10/+22
| | | | | | * Read recorded requests to memory before parsing This will more accurately simulate how requests comes in from a client * Make a fast path for GetFinalPathNameByHandleW Try to get the path with a fixes size buffer first to avoid always doing two calls to GetFinalPathNameByHandleW
* Fix http parsing crash (#205)Dan Engelbrecht2022-12-082-29/+37
| | | | * Don't continue parsing http requests if we get an error. * changelog
* Fix logging of number of read entries from log/index file for stores (#204)Dan Engelbrecht2022-12-083-7/+7
| | | | * Fix logging of number of read entries from log/index file for stores * changelog
* 0.2.0-pre1v0.2.0-pre1Dan Engelbrecht2022-12-071-1/+1
|
* Fix asio port sharing options (#203)Dan Engelbrecht2022-12-072-9/+32
| | | | * Windows: explicitly set the special SO_EXCLUSIVEADDRUSE flag * changelog
* 0.2.0-pre0v0.2.0-pre0Dan Engelbrecht2022-12-071-1/+1
|
* Zen cmd fixes (#201)Dan Engelbrecht2022-12-0714-81/+112
| | | | | | | * updated drop command to support namespaces * fixed hash command error message * fix output of status (and top) command * Use ZEN_CONSOLE for output in zen commands * changelog
* optimizations (#200)Dan Engelbrecht2022-12-0727-350/+539
| | | | | | | | | | | | | * Use direct file read and direct buffer allocation for small IoBuffer materalization * Reduce range of materialized data in CompositeBuffer reading CompressedBuffer header reading often only need a small part and not the whole file * reduce lock contention in IoBuffer::Materialize * Reduce parsing of compressed headers Validate header type at decompression * faster CreateDirectories - start from leaf going up and recurse back * optimized BufferHeader::IsValid * Add ValidateCompressedHeader to use when we don't need the actual compressed data Validate that we always get compressed data in CidStore::AddChunk * changelog
* Cache request record/replay (#198)Dan Engelbrecht2022-12-076-219/+490
| | | | | | | | | This adds recording and playback of cache request with full data - both get and put operations can be replayed. Invoke via web request. `<host>/z$/exec$/start-recording?<disk-storage-path>` `<host>/z$/exec$/stop-recording` `<host>/z$/exec$/replay-recording?<thread-count>&<disk-storage-path>`
* Use Iso8601 format for logging start and end message (#202)Dan Engelbrecht2022-12-072-2/+4
| | | | * Use Iso8601 format for logging start and end message * changelog
* Size based gc trigger (#197)Dan Engelbrecht2022-12-0211-141/+554
| | | | | - Feature: Disk size triggered GC, a soft disk usage limit for cache data. - Feature: New option `--gc-disk-size-soft-limit` (command line), `gc.cache.disksizesoftlimit` (lua config) controlling limit for soft disk usage limit. Defaults to zero which disables soft disk usage limit. - Improvement: Disk write pressure in GC log and cleaned up clutter in GC logging.