| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | implemented subtree copying | Stefan Boberg | 2023-05-16 | 1 | -4/+103 |
| | | |||||
| * | demote state_marker deletion detection to warning | Dan Engelbrecht | 2023-05-16 | 1 | -1/+1 |
| | | |||||
| * | exit without SIGABRT if exception is thrown during startup (#313) | Dan Engelbrecht | 2023-05-16 | 1 | -7/+41 |
| | | | | | | * Safeguard ZenServer::RequestExit() and ZenServer::Cleanup() when partially initialized * Set exit code to non-zero if exception is thrown in ZenEntryPoint::Run() * changelog | ||||
| * | Additional trace instrumentation (#312) | Stefan Boberg | 2023-05-16 | 9 | -9/+139 |
| | | | | | | | | | | * added trace instrumentation to upstreamcache * added asio trace instrumentation * added trace annotations for project store * added trace annotations for BlockStore * added trace annotations for HttpClient * added trace annotations for CAS/GC | ||||
| * | Moved EnableVTMode function into zencore (#311) | Stefan Boberg | 2023-05-16 | 4 | -53/+38 |
| | | |||||
| * | Add `--gc-projectstore-duration-seconds` option (#281) | Dan Engelbrecht | 2023-05-16 | 10 | -97/+140 |
| | | | | | | | * Add `--gc-projectstore-duration-seconds` option * Cleanup lua gc options parsing * Remove dead configuration values * changelog | ||||
| * | clear partially formatted response if request fails (http asio) (#310) | Dan Engelbrecht | 2023-05-16 | 1 | -0/+3 |
| | | | | | * simplfy error response by dropping partially formatted response * Update CHANGELOG.md | ||||
| * | removed RefCounted from ZenCacheNamespace | Stefan Boberg | 2023-05-15 | 1 | -2/+13 |
| | | | | | also added some class comments | ||||
| * | zenserver does not support test mode in release | Stefan Boberg | 2023-05-15 | 1 | -0/+5 |
| | | |||||
| * | removed remnants of ZEN_USE_REF_TRACKING | Stefan Boberg | 2023-05-15 | 3 | -47/+0 |
| | | | | | this code was originally meant to be used for GC but is no longer needed | ||||
| * | added error reporting for bad BlockStore chunks | Stefan Boberg | 2023-05-15 | 1 | -5/+22 |
| | | | | | also eliminated some copy-paste | ||||
| * | removed unnecessary #include directives from cas.h | Stefan Boberg | 2023-05-15 | 1 | -10/+3 |
| | | |||||
| * | MaxOS build fix: ScrubStorage must be override | Stefan Boberg | 2023-05-15 | 1 | -10/+16 |
| | | |||||
| * | added ScrubStorage to GcStorage base class | Stefan Boberg | 2023-05-15 | 7 | -18/+42 |
| | | |||||
| * | added scrubbing related logging | Stefan Boberg | 2023-05-15 | 2 | -0/+6 |
| | | |||||
| * | added static_assert for BlockStoreDiskLocation | Stefan Boberg | 2023-05-15 | 1 | -0/+2 |
| | | |||||
| * | corrected CidStore comment | Stefan Boberg | 2023-05-15 | 1 | -4/+0 |
| | | |||||
| * | Added some comments to ZenServerInstance etc | Stefan Boberg | 2023-05-15 | 1 | -10/+18 |
| | | |||||
| * | CidStore::Impl explicit constructor, fixed #ifndef NDEBUG | Stefan Boberg | 2023-05-15 | 1 | -3/+4 |
| | | |||||
| * | 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 | ||||