aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* WARN level log if we can't write snapshot/manifest/access times (#288)Dan Engelbrecht2023-05-113-7/+21
|
* Revert "add timeout to server spawns in tests"Dan Engelbrecht2023-05-111-22/+22
| | | | This reverts commit b8a305713892cb23907ca61e07a70bdfb73ac2f5.
* need to set 'id' for user info in sentry (#287)Dan Engelbrecht2023-05-101-25/+35
|
* Only rewrite state_marker file if it does not exist so we can see the age of itDan Engelbrecht2023-05-101-3/+6
|
* clean up log/index reading and fix incorrect logging about bad log files (#286)Dan Engelbrecht2023-05-103-88/+106
|
* make sure we create gc root directory before checking disk spaceDan Engelbrecht2023-05-101-7/+7
|
* add timeout to server spawns in testsDan Engelbrecht2023-05-101-22/+22
|
* fix return code on tests (#284)Dan Engelbrecht2023-05-101-3/+1
| | | fix help for xmake test
* monitor if a state-maker file still exists, and if not error out and exit (#283)Dan Engelbrecht2023-05-091-0/+25
| | | * monitor if a state-maker file still exists, and if not error out and exit
* add context to MapViewOfFile errors (#282)Stefan Boberg2023-05-093-3/+32
| | | | * added FileSizeFromHandle function * added file size to error message when MapViewOfFile fails
* fixed merge errorStefan Boberg2023-05-091-4/+4
| | | | EmitScopesForLogging -> EmitActivitiesForLogging
* Merge branch 'main' of https://github.com/EpicGames/zenStefan Boberg2023-05-0913-179/+451
|\
| * Low disk space detector (#277)Dan Engelbrecht2023-05-0910-133/+314
| | | | | | | | * - Feature: Disk writes are now blocked early and return an insufficient storage error if free disk space falls below the `--low-diskspace-threshold` value * Never keep an entry in m_ChunkBlocks that points to a nullptr
| * Validate that entries points inside valid blocks at startup (#280)Dan Engelbrecht2023-05-094-46/+137
| | | | | | | | | | * Separate initialization of block store from pruning of unknown blocks * Validate that entries points inside valid blocks
* | make logging tests run as part of zencore-testStefan Boberg2023-05-093-2/+6
|/
* implemented thread-local activity trackingStefan Boberg2023-05-092-0/+194
| | | includes support for on-demand formatting of scope in error messages
* add ip and username to sentry reports if allowed in settings (#276)Dan Engelbrecht2023-05-083-0/+37
| | | | * add ip and username to sentry reports if allowed in settings * add --sentry-allow-personal-info command line options to zenserver
* project store gc lifetime (#257)Dan Engelbrecht2023-05-082-84/+343
| | | | | | | * keep track of last access time for project store projects and oplogs * check size on disk for project store total size * read/write access times to disk * changelog * change some std::filesystem::path -> const std::filesystem::path&
* replace use of cxxopts::OptionParseException in our codeStefan Boberg2023-05-089-11/+47
| | | | later versions of cxxopts changed the signatures of exceptions. This change adds zen::OptionParseException to replace it
* 247 complete httpclient implementation (#269)Stefan Boberg2023-05-055-44/+310
| | | | | | | | | * implemented HttpClient connection pooling * implemented missing verbs * added response helpers (CbObject/CbPackage/text) * added RwLock::WithSharedLock and RwLock::WithExclusiveLock * added some noexcept annotations on RwLock * removed CPR dependency in httpclient.h
* Treat reading outside of block store file as a not found error. We may ↵Dan Engelbrecht2023-05-021-0/+4
| | | | encounter truncated blocks due to earlier abnormal termination of zenserver or disk failures. (#268)
* Report asserts to Sentry (#267)Dan Engelbrecht2023-05-021-9/+40
| | | | * don't do sentry operations if sentry init failed * changelog
* cleaned up how Oodle is incorporatedStefan Boberg2023-05-022-4/+3
| | | | changed win64 to be more in line with other platforms wrt xmake config
* move testing and observability code to zenhttp (#266)Stefan Boberg2023-05-0218-27/+25
|
* move auth code from zenserver into zenhttp (#265)Stefan Boberg2023-05-0211-13/+11
| | | this code should be usable outside of zenserver, so this moves it out into zenhttp where it can be used from lower level components
* moved source directories into `/src` (#264)Stefan Boberg2023-05-02249-0/+81583
* moved source directories into `/src` * updated bundle.lua for new `src` path * moved some docs, icon * removed old test trees