aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* v0.2.11-pre1v0.2.11-pre1Dan Engelbrecht2023-05-121-1/+1
|
* wipe cache buckets block store that may contain invalid state (#300)Dan Engelbrecht2023-05-122-2/+16
| | | | * wipe cache buckets block store that may contain invalid state * Update CHANGELOG.md
* v0.2.11-pre0v0.2.11-pre0Dan Engelbrecht2023-05-121-1/+1
|
* changelogDan Engelbrecht2023-05-121-1/+1
|
* fix gc bucket index compaction (#299)Dan Engelbrecht2023-05-122-4/+6
| | | | * fix compaction of m_Payloads and m_AccessTimes in ZenCacheDiskLayer::CacheBucket * changelog
* implemented structured cache logging (#296)Stefan Boberg2023-05-126-13/+112
| | | | | | | | may be used as audit trail to help analyse potential cache pollution/corruption * also added common header with timestamp to all known log targets * made `Oid::operator bool` explicit to avoid logging/text format mishaps * made `HttpClient::operator bool` explicit
* better logging/exception when reading file in IoBuffer::Materialize fails (#294)Dan Engelbrecht2023-05-122-8/+38
| | | | * better logging/exception when reading file in IoBuffer::Materialize fails * changelog
* fix logic for old blocks in blockstore gc (#295)Dan Engelbrecht2023-05-122-21/+25
| | | | | | | * fix logic for old blocks in blockstore gc If we will remove all entries in a block and keep nothing we can't expect for the block to exist. If we want to keep entries in a block, the block must exist, if not error and move entries to delete list. Don't reset output block between blocks we are reading from, keep using it until it exceeds the max limit. * changelog
* Gracefully exit if Ctrl-C is pressed (#293)Dan Engelbrecht2023-05-115-6/+54
| | | | | * Feature: Gracefully exit if Ctrl-C is pressed * Bugfix: Return error code on exit as set by application * changelog
* allow early logging (#292)Dan Engelbrecht2023-05-113-5/+8
| | | | * if logging is not initialized, just log to console * changelog
* clang-format (sorry)Stefan Boberg2023-05-111-1/+1
|
* build fix (accidental commit on the wrong branch)Stefan Boberg2023-05-112-1/+4
|
* clang-formatStefan Boberg2023-05-111-1/+3
|
* Merge branch 'main' of https://github.com/EpicGames/zenStefan Boberg2023-05-1112-35/+105
|\
| * v0.2.10v0.2.10Dan Engelbrecht2023-05-111-1/+1
| |
| * v0.2.10-pre2v0.2.10-pre2Dan Engelbrecht2023-05-111-1/+1
| |
| * flush file cas on exit (#291)Dan Engelbrecht2023-05-113-24/+35
| | | | | | | | | | | | | | | | * flush caslog and index snapshot on flush * fix save reading of index/logfile with cleanup write snapshot at flush * don't validate entries we just scanned/created * fix total size found when scanning for cas files * changelog
| * 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
* | added scrubcontext.cppStefan Boberg2023-05-111-0/+15
|/
* 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
|