aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Close down http server gracefully when exiting even while requests are still ↵Dan Engelbrecht2023-05-119-10/+69
| | | | | being processed (#290) * Close down http server gracefully when exiting even while requests are still being processed
* ZEN_LOG_SCOPE compile fixStefan Boberg2023-05-111-1/+1
| | | | previous version would fail with multiple instances in the same scope
* if a block is missing during gc, log an error but still continue (#289)Dan Engelbrecht2023-05-111-4/+8
|
* changelogDan Engelbrecht2023-05-111-0/+1
|
* 0.2.10-pre1v0.2.10-pre1Dan Engelbrecht2023-05-111-1/+1
|
* 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
|
* v0.2.10-pre0v0.2.10-pre0Dan Engelbrecht2023-05-101-1/+1
|
* 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
|
* extend timeout for linux validation on ciDan Engelbrecht2023-05-101-1/+1
|
* fix return code on tests (#284)Dan Engelbrecht2023-05-102-4/+2
| | | fix help for xmake test
* monitor if a state-maker file still exists, and if not error out and exit (#283)Dan Engelbrecht2023-05-092-0/+26
| | | * 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-0914-179/+453
|\
| * Low disk space detector (#277)Dan Engelbrecht2023-05-0911-133/+315
| | | | | | | | * - 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-095-46/+138
| | | | | | | | | | * 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-084-1/+39
| | | | * 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-083-84/+344
| | | | | | | * 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&
* changelogDan Engelbrecht2023-05-081-0/+2
|
* 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
* Update README.mdStefan Boberg2023-05-031-1/+1
|
* Update README.mdStefan Boberg2023-05-031-0/+1
|
* Update README.mdStefan Boberg2023-05-031-1/+1
|
* v0.2.9v0.2.9Dan Engelbrecht2023-05-021-1/+1
|
* Treat reading outside of block store file as a not found error. We may ↵Dan Engelbrecht2023-05-022-0/+7
| | | | encounter truncated blocks due to earlier abnormal termination of zenserver or disk failures. (#268)
* v0.2.8v0.2.8Dan Engelbrecht2023-05-021-1/+1
|
* Report asserts to Sentry (#267)Dan Engelbrecht2023-05-022-9/+41
| | | | * don't do sentry operations if sentry init failed * changelog
* v0.2.8-pre1v0.2.8-pre1Dan Engelbrecht2023-05-021-1/+1
|
* 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-02264-20/+10
| | | | | | * moved source directories into `/src` * updated bundle.lua for new `src` path * moved some docs, icon * removed old test trees
* fix: bundle shouldn't append content zip to zenStefan Boberg2023-05-011-4/+0
|
* add customization of assert implementation (#263)Dan Engelbrecht2023-04-282-27/+86
| | | * add customization of assert implementation
* 0.2.8-pre0v0.2.8-pre0Dan Engelbrecht2023-04-271-1/+1
|
* Write log error and flush log before reporting error to Sentry/error loggerDan Engelbrecht2023-04-272-1/+2
|
* made Ref<> constructor explicit (#262)Stefan Boberg2023-04-276-15/+16
| | | This change makes the Ref<> constructor explicit, which can help avoid unnecessary overheads and other accidents
* bugfixes (#261)Dan Engelbrecht2023-04-273-1/+20
| | | | | * Don't try to GC if now blocks to GC was found, regardless if we have locations in memory * Don't let exception leak from scope guard as throw in destructor will abort application * changelog
* v0.2.7v0.2.7Dan Engelbrecht2023-04-261-1/+1
|
* Catch any errors throw in HttpAsioServer() destructor and log error to avoid ↵Dan Engelbrecht2023-04-262-1/+9
| | | | abort due to throwing in destructor
* changelogDan Engelbrecht2023-04-261-0/+1
|
* log error before throwing exception so we can see the callstackDan Engelbrecht2023-04-261-1/+8
|