| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | minor GC API cleanup | Stefan Boberg | 2023-05-15 | 18 | -73/+73 | |
| | | | | | | Scrub -> ScrubStorage Trigger -> TriggerGc (to make relationship to TriggerScrub clearer) | |||||
| * | some HttpClient changes eliminating some cpr helpers | Stefan Boberg | 2023-05-15 | 2 | -21/+33 | |
| | | ||||||
| * | added some top-level trace scopes to httpsys impl | Stefan Boberg | 2023-05-15 | 1 | -0/+5 | |
| | | ||||||
| * | SetCurrentThreadName now sets thread name in trace | Stefan Boberg | 2023-05-15 | 1 | -10/+14 | |
| | | ||||||
| * | brought over minor IoBuffer changes from sb/scrub | Stefan Boberg | 2023-05-15 | 2 | -0/+3 | |
| | | | | | no actual code changes, just comments | |||||
| * | added IoBuffer.mmap test case | Stefan Boberg | 2023-05-15 | 1 | -0/+27 | |
| | | | | | | | this verifies that attempting to map a range outside the underlying file fails. Posix appears to offer different semantics so it silently accepts it still however. | |||||
| * | disable warning C5105 in ZEN_THIRD_PARTY_INCLUDES_START | Stefan Boberg | 2023-05-15 | 2 | -7/+8 | |
| | | ||||||
| * | auto -> typed declarations | Stefan Boberg | 2023-05-15 | 1 | -2/+3 | |
| | | ||||||
| * | removed excessive ZEN_UNUSED decls | Stefan Boberg | 2023-05-15 | 1 | -2/+2 | |
| | | | | | done primarily to remove diffs from upcoming PR | |||||
| * | Remove ZEN_CACHE_TRACKER etc | Stefan Boberg | 2023-05-15 | 4 | -437/+0 | |
| | | | | this was code which was originally intended for use with GC but it's no longer useful | |||||
| * | Better defaults for zen cli (#302) | Stefan Boberg | 2023-05-15 | 8 | -23/+254 | |
| | | | | | | added ZenCmdBase::ResolveTargetHostSpec - this is a helper which provides better default behaviour for commands which interact with a local zen server instance. more specifically it picks a default based on which processes are actually running on the local machine this change also wires up the Scrub command along with some required HttpClient improvements | |||||
| * | added trace::DescribeSession to TraceInit | Stefan Boberg | 2023-05-15 | 1 | -7/+13 | |
| | | | | | | without this, traces rather unhelpfully show up with no context in the session browser | |||||
| * | Ensure WorkerThreadPool tests always run | Stefan Boberg | 2023-05-15 | 1 | -0/+2 | |
| | | ||||||
| * | Assign auth thread a name | Stefan Boberg | 2023-05-15 | 1 | -0/+2 | |
| | | ||||||
| * | Merge branch 'main' of https://github.com/EpicGames/zen | Stefan Boberg | 2023-05-15 | 18 | -111/+780 | |
| |\ | ||||||
| | * | Remove ATL header usage (#306) | Stefan Boberg | 2023-05-15 | 13 | -71/+520 | |
| | | | | | | | ATL has been used here and there as a convenience. Given that this is a legacy component and not always something which gets installed along with the compiler we hereby remove the dependency altogether in favour of our own simple wrappers | |||||
| | * | all threads should be named (#304) | Stefan Boberg | 2023-05-15 | 5 | -40/+260 | |
| | | | | | | | | | | | | | | | * added WorkerThreadPool naming, packaged_task support * name the http.sys thread pool service threads * added http.sys I/O threadpool naming * upstream cache I/O thread naming | |||||
| * | | implemented string conversion for CbValidateError enum | Stefan Boberg | 2023-05-15 | 2 | -0/+44 | |
| |/ | ||||||
| * | wipe cache buckets block store that may contain invalid state (#300) | Dan Engelbrecht | 2023-05-12 | 1 | -0/+14 | |
| | | | | | * wipe cache buckets block store that may contain invalid state * Update CHANGELOG.md | |||||
| * | fix gc bucket index compaction (#299) | Dan Engelbrecht | 2023-05-12 | 1 | -4/+5 | |
| | | | | | * fix compaction of m_Payloads and m_AccessTimes in ZenCacheDiskLayer::CacheBucket * changelog | |||||
| * | implemented structured cache logging (#296) | Stefan Boberg | 2023-05-12 | 5 | -13/+111 | |
| | | | | | | | | | 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 Engelbrecht | 2023-05-12 | 1 | -8/+37 | |
| | | | | | * better logging/exception when reading file in IoBuffer::Materialize fails * changelog | |||||
| * | fix logic for old blocks in blockstore gc (#295) | Dan Engelbrecht | 2023-05-12 | 1 | -21/+24 | |
| | | | | | | | | * 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 Engelbrecht | 2023-05-11 | 4 | -5/+49 | |
| | | | | | | * Feature: Gracefully exit if Ctrl-C is pressed * Bugfix: Return error code on exit as set by application * changelog | |||||
| * | allow early logging (#292) | Dan Engelbrecht | 2023-05-11 | 2 | -5/+7 | |
| | | | | | * if logging is not initialized, just log to console * changelog | |||||
| * | clang-format (sorry) | Stefan Boberg | 2023-05-11 | 1 | -1/+1 | |
| | | ||||||
| * | build fix (accidental commit on the wrong branch) | Stefan Boberg | 2023-05-11 | 2 | -1/+4 | |
| | | ||||||
| * | clang-format | Stefan Boberg | 2023-05-11 | 1 | -1/+3 | |
| | | ||||||
| * | Merge branch 'main' of https://github.com/EpicGames/zen | Stefan Boberg | 2023-05-11 | 10 | -34/+101 | |
| |\ | ||||||
| | * | flush file cas on exit (#291) | Dan Engelbrecht | 2023-05-11 | 2 | -24/+33 | |
| | | | | | | | | | | | | | | | | | * 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 Engelbrecht | 2023-05-11 | 8 | -10/+68 | |
| | | | | | | | | | | | being processed (#290) * Close down http server gracefully when exiting even while requests are still being processed | |||||
| * | | added scrubcontext.cpp | Stefan Boberg | 2023-05-11 | 1 | -0/+15 | |
| |/ | ||||||
| * | ZEN_LOG_SCOPE compile fix | Stefan Boberg | 2023-05-11 | 1 | -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 Engelbrecht | 2023-05-11 | 1 | -4/+8 | |
| | | ||||||
| * | WARN level log if we can't write snapshot/manifest/access times (#288) | Dan Engelbrecht | 2023-05-11 | 3 | -7/+21 | |
| | | ||||||
| * | Revert "add timeout to server spawns in tests" | Dan Engelbrecht | 2023-05-11 | 1 | -22/+22 | |
| | | | | | This reverts commit b8a305713892cb23907ca61e07a70bdfb73ac2f5. | |||||
| * | need to set 'id' for user info in sentry (#287) | Dan Engelbrecht | 2023-05-10 | 1 | -25/+35 | |
| | | ||||||
| * | Only rewrite state_marker file if it does not exist so we can see the age of it | Dan Engelbrecht | 2023-05-10 | 1 | -3/+6 | |
| | | ||||||
| * | clean up log/index reading and fix incorrect logging about bad log files (#286) | Dan Engelbrecht | 2023-05-10 | 3 | -88/+106 | |
| | | ||||||
| * | make sure we create gc root directory before checking disk space | Dan Engelbrecht | 2023-05-10 | 1 | -7/+7 | |
| | | ||||||
| * | add timeout to server spawns in tests | Dan Engelbrecht | 2023-05-10 | 1 | -22/+22 | |
| | | ||||||
| * | fix return code on tests (#284) | Dan Engelbrecht | 2023-05-10 | 1 | -3/+1 | |
| | | | | fix help for xmake test | |||||
| * | monitor if a state-maker file still exists, and if not error out and exit (#283) | Dan Engelbrecht | 2023-05-09 | 1 | -0/+25 | |
| | | | | * monitor if a state-maker file still exists, and if not error out and exit | |||||
| * | add context to MapViewOfFile errors (#282) | Stefan Boberg | 2023-05-09 | 3 | -3/+32 | |
| | | | | | * added FileSizeFromHandle function * added file size to error message when MapViewOfFile fails | |||||
| * | fixed merge error | Stefan Boberg | 2023-05-09 | 1 | -4/+4 | |
| | | | | | EmitScopesForLogging -> EmitActivitiesForLogging | |||||
| * | Merge branch 'main' of https://github.com/EpicGames/zen | Stefan Boberg | 2023-05-09 | 13 | -179/+451 | |
| |\ | ||||||
| | * | Low disk space detector (#277) | Dan Engelbrecht | 2023-05-09 | 10 | -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 Engelbrecht | 2023-05-09 | 4 | -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-test | Stefan Boberg | 2023-05-09 | 3 | -2/+6 | |
| |/ | ||||||
| * | implemented thread-local activity tracking | Stefan Boberg | 2023-05-09 | 2 | -0/+194 | |
| | | | | includes support for on-demand formatting of scope in error messages | |||||