aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Removed unnecessary windows.h includeStefan Boberg2023-06-081-4/+0
|
* added missing <utility> includeStefan Boberg2023-06-071-0/+1
|
* added thread names to timer, upstream monitorStefan Boberg2023-06-073-2/+19
| | | | also altered http-asio thread naming scheme
* Increase retry logic (#325)Dan Engelbrecht2023-06-051-13/+19
| | | | * Increase timeout and number of retries in CacheBucket::PutStandaloneCacheValue when moving temporary file into place * changelog
* Enable front-end serving in release modeStefan Boberg2023-05-312-26/+40
| | | | Front-end can now be served from a development directory in release mode as well as debug if there's no zipfs attached
* fix for Linux/sentry build issueStefan Boberg2023-05-261-3/+0
|
* oplog snapshot (#317)Stefan Boberg2023-05-253-17/+219
| | | | | Added "snapshot" oplog RPC this may be used to bring referenced files into the local store instead of referencing them by filename, thus making the project/oplog transportable
* minor: refcount bump eliminationStefan Boberg2023-05-251-1/+1
|
* named oplog upload worker pool threadsStefan Boberg2023-05-251-1/+12
|
* minor: comment fixStefan Boberg2023-05-251-1/+1
|
* BasicFile::ReadAll should handle zero-sized files gracefullyStefan Boberg2023-05-251-3/+10
|
* added defaults to remote project store option definitionsStefan Boberg2023-05-253-5/+6
|
* fix for random uint32 -> uint32_tStefan Boberg2023-05-251-1/+1
|
* fix for issue with missing options in helpStefan Boberg2023-05-251-0/+2
| | | | | positional options were not included in the `--help` output previously, now they are!
* block destructors from throwing exceptions (#321)Dan Engelbrecht2023-05-243-8/+12
| | | | | | * ~FileMapping() is not allowed to throw exceptions * ~ScopedActivityBase() should not call ZEN_ASSERT (which causes SIGABORT on error) * ProjectStore::Project::WriteAccessTimes() which is called from ProjectStore::~Project() must not throw exceptions * changelog
* cache log sessionid (#297)Stefan Boberg2023-05-237-169/+274
| | | | | | | | | | | * implemented structured cache logging to be used as audit trail to help analyse potential cache pollution/corruption * added common header to all known log targets * made Oid::operator bool explicit to avoid logging/text format mishaps * HttpClient::operator bool -> explicit * changed cache logs to not rotate on start in order to retain more history * added CacheRequestContext * properly initialize request context * log session id and request id on zencacehstore get/put * changelog
* use exception when allocations fail rather than asserts (#319)Dan Engelbrecht2023-05-233-5/+34
| | | | * use exception when allocations fail rather than asserts * changelog
* streaming decompression support (#142)Stefan Boberg2023-05-238-29/+1000
| | | Added CompressedBufferReader support from UE. This provides some streaming decompression support which can be employed to reduce memory and other resource usage.
* MemoryView::RightChop -> constStefan Boberg2023-05-221-1/+1
|
* removed some old test code which is no longer usefulStefan Boberg2023-05-221-66/+1
|
* minor: fixed typos in log output (PUTCACEHRECORD -> PUTCACHERECORD)Stefan Boberg2023-05-221-2/+2
|
* sorted the commands exposed from zen CLIStefan Boberg2023-05-191-8/+8
|
* fixed bug where an oplog delete would not actually delete the oplogStefan Boberg2023-05-191-2/+9
| | | | this would manifest itself if an oplog delete was attempted right after zenserver startup, when the oplog has not yet been instantiated. This fix checks for on-disk state as well as in-memory
* fix for commented-out code which was never meant to be checked inStefan Boberg2023-05-171-6/+6
|
* project store refactor (#316)Stefan Boberg2023-05-175-1518/+1560
| | | moved HttpProjectService into own file to improve maintainability
* Sb/oplog export fixes (#315)Stefan Boberg2023-05-171-16/+28
| | | | | * fixed a bug in oplog-export file target RPC message * updated some option validation code
* zen print command should use an extendable string buffer to prevent overflowStefan Boberg2023-05-171-1/+1
|
* fix for redundant define checkStefan Boberg2023-05-171-5/+3
|
* Restructured structured cache store (#314)Stefan Boberg2023-05-1711-2811/+2884
| | | | This change separates out the disk and memory storage strategies into separate cpp/h files to improve maintainability.
* Content scrubbing (#271)Stefan Boberg2023-05-1610-239/+625
| | | Added zen scrub command which may be triggered via the zen CLI helper. This traverses storage and validates contents either by content hash and/or by structure. If unexpected data is encountered it is invalidated.
* added benchmark utility command `bench` (#298)Stefan Boberg2023-05-165-1/+260
| | | currently this implements a way (`zen bench --purge`) to purge the standby lists on Windows. This basically flushes the file system cache and is useful to put your system in a consistent state before running benchmarks
* implemented subtree copyingStefan Boberg2023-05-161-4/+103
|
* demote state_marker deletion detection to warningDan Engelbrecht2023-05-161-1/+1
|
* exit without SIGABRT if exception is thrown during startup (#313)Dan Engelbrecht2023-05-161-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 Boberg2023-05-169-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 Boberg2023-05-164-53/+38
|
* Add `--gc-projectstore-duration-seconds` option (#281)Dan Engelbrecht2023-05-1610-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 Engelbrecht2023-05-161-0/+3
| | | | * simplfy error response by dropping partially formatted response * Update CHANGELOG.md
* removed RefCounted from ZenCacheNamespaceStefan Boberg2023-05-151-2/+13
| | | | also added some class comments
* zenserver does not support test mode in releaseStefan Boberg2023-05-151-0/+5
|
* removed remnants of ZEN_USE_REF_TRACKINGStefan Boberg2023-05-153-47/+0
| | | | this code was originally meant to be used for GC but is no longer needed
* added error reporting for bad BlockStore chunksStefan Boberg2023-05-151-5/+22
| | | | also eliminated some copy-paste
* removed unnecessary #include directives from cas.hStefan Boberg2023-05-151-10/+3
|
* MaxOS build fix: ScrubStorage must be overrideStefan Boberg2023-05-151-10/+16
|
* added ScrubStorage to GcStorage base classStefan Boberg2023-05-157-18/+42
|
* added scrubbing related loggingStefan Boberg2023-05-152-0/+6
|
* added static_assert for BlockStoreDiskLocationStefan Boberg2023-05-151-0/+2
|
* corrected CidStore commentStefan Boberg2023-05-151-4/+0
|
* Added some comments to ZenServerInstance etcStefan Boberg2023-05-151-10/+18
|
* CidStore::Impl explicit constructor, fixed #ifndef NDEBUGStefan Boberg2023-05-151-3/+4
|