aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 0.2.35-pre0v0.2.35-pre0Dan Engelbrecht2023-11-171-1/+1
|
* fix named event (#553)Dan Engelbrecht2023-11-174-19/+38
| | | * fix named event timout and test, fix blocking queue
* use dynamic port assignment for tests (#545)Stefan Boberg2023-11-175-215/+224
| | | this change replaces hard-coded port numbers in tests with dynamically assigned ports, to avoid potential issues around socket lifetimes and re-use policies
* removed zen runtests command (#551)Stefan Boberg2023-11-162-29/+1
|
* blocking queue fix (#550)Dan Engelbrecht2023-11-167-54/+78
| | | | | | | | | * make BlockingQueue::m_CompleteAdding non-atomic * ZenCacheDiskLayer::Flush logging * name worker threads in ZenCacheDiskLayer::DiscoverBuckets * name worker threads in gcv2 * improved logging in ZenServerInstance * scrub threadpool naming * remove waitpid handling, we should just call wait to kill zombie processes
* add wipe prevention via file in data root dir (#548)Dan Engelbrecht2023-11-162-3/+21
| | | * if a file named root_manifest.ignore_schema_mismatch exists in the root data dir, ignore schema mismatch
* further posix event improvements (#549)Stefan Boberg2023-11-162-6/+25
| | | | | | | | * changed posix event implementation to use std::atomic instead of volatile * ensure Event::Close() can take lock before deleting the inner object * don't try to take the Event lock if the event is already signaled * changed logic around Event::Wait without time-out. this works around some apparent issues on MacOS/Linux * fix logic for posix process exit wait
* add zenserver state snapshot support (#543)Stefan Boberg2023-11-166-2/+146
| | | | | this introduces a --snapshot-dir command line option to zenserver which specifies a directory which will be propagated to the persistence root directory on start-up. This is most powerful with file systems which support block cloning, such as ReFS on Windows. This allows even very large state snapshots to be used repeatedly without having to worry about mutating the original dataset on disk. When using ReFS the state copy for even large state directories can be very fast since the duration is primarily proportional to the number of files in the tree rather than the size of the files being cloned. The storage requirements are also minimal as all data will be handled in a copy-on-write manner.
* changed posix event implementation to use std::atomic instead of volatile (#547)Stefan Boberg2023-11-163-10/+14
|
* 0.2.34v0.2.34Dan Engelbrecht2023-11-152-1/+2
|
* schema bump (#544)Dan Engelbrecht2023-11-151-1/+1
|
* Trim any leading slash and backslash from bucket prefix. (#541)Per Larsson2023-11-151-0/+2
|
* remove dependency on cxxopts exception types (#542)Stefan Boberg2023-11-153-31/+35
| | | | | | changed options parsing so that we don't depend on cxxopts exception types this makes it possible to use any cxxopts-version including beyond 3.0.0
* Update README.mdStefan Boberg2023-11-151-3/+1
|
* updated xmake versions in READMEStefan Boberg2023-11-151-4/+4
|
* don't do blocking call to waitpid (#540)Dan Engelbrecht2023-11-151-35/+3
| | | | fix process wait timeout always use kill(pid, 0) to determine if process is running
* Make object store endpoint S3 compatible. (#535)Per Larsson2023-11-155-46/+435
| | | | | * Make object store endpoint S3 compatible. * Removed XML pretty printing and set object store endpoint disabled by default.
* add doctest listener so we can output when test/subtests begin (#538)Dan Engelbrecht2023-11-152-0/+53
| | | | * add doctest listener so we can output when test/subtests begin * disable sentry when running a test server
* fix race contdition when signaling shutdown of process and waiting for ↵Dan Engelbrecht2023-11-155-13/+64
| | | | completion (#539)
* add host name to sentry (#537)Dan Engelbrecht2023-11-153-7/+54
| | | * add hostname to sentry user id
* 0.2.33v0.2.33Dan Engelbrecht2023-11-141-1/+1
|
* 0.2.33-pre1v0.2.33-pre1Dan Engelbrecht2023-11-141-1/+1
|
* fix comparison operator for cache disk location (#534)Dan Engelbrecht2023-11-142-1/+13
| | | * proper != operator for DiskLocation
* 0.2.33-pre0v0.2.33-pre0Dan Engelbrecht2023-11-141-1/+1
|
* fix index out of bounds in CacheBucket::CompactState (#532)Dan Engelbrecht2023-11-142-25/+26
| | | | | * use PayloadIndex for indexing into payload array * naming cleanup * fix metadata index in CacheBucket::CompactState
* changelogDan Engelbrecht2023-11-131-1/+7
|
* 0.2.32v0.2.32Dan Engelbrecht2023-11-131-1/+1
|
* fix potential logic error in bucket manifest readStefan Boberg2023-11-131-17/+21
|
* gc history log (#519)Dan Engelbrecht2023-11-1310-199/+537
| | | | | - Feature: Writes a `gc.log` with settings and detailed result after each GC execution (version 2 only) - Break out file name rotate to allow access for gclog - CompactBinaryToJson(MemoryView Data, StringBuilderBase& InBuilder)
* package dependency clean-ups (#531)Stefan Boberg2023-11-138-63/+16
| | | | | | | | | | this change just cleans up dependency declarations in xmake.lua files, discovered while exploring a more to xrepo which catches dependency problems since it will not just place all includes in a single directory, unlike vcpkg. * removed spurious asio dependency from zenserver-test * removed rocksdb reference * add missing asio package dependency * removed catch2 reference (no longer available) * added explicit cpr reference * made some zencore package dependencies public (this is necessary because some public zencore headers pull in package headers. If you use a more strict package manager than vcpkg then you get compilation errors whenever these includes are pulled in unless you declare the dependency explicitly)
* fmt compilation fix for fmt v10+new vs build (#529)Stefan Boberg2023-11-131-8/+15
| | | VS 17.7.6 triggers some new compilation errors with certain versions of fmt::make_format_args. This should fix those errors. I don't fully understand why this is necessary, sadly my c++-fu is not strong enough.
* 0.2.31v0.2.31Dan Engelbrecht2023-11-131-1/+1
|
* 0.2.31-pre3v0.2.31-pre3Dan Engelbrecht2023-11-101-1/+1
|
* If a directory is deleted while we try to traverse it, skip it and continue ↵Dan Engelbrecht2023-11-102-0/+12
| | | | (#528)
* fix bad access to unlocked state (#527)Dan Engelbrecht2023-11-103-17/+27
| | | | * don't touch non-locked data when creating manifest * safety assert for test dir
* reduce memory footprint for bucket indexes (#526)Stefan Boberg2023-11-102-14/+15
| | | reduces memory footprint of cache index by 10% or so by limiting the maximum number of entries in a bucket to 2^32 (was 2^64)
* 0.2.31-pre2v0.2.31-pre2Dan Engelbrecht2023-11-091-1/+1
|
* option for zenserver - `--http-forceloopback` (#516)Dan Engelbrecht2023-11-098-30/+68
| | | | * New option for zenserver - `--http-forceloopback` which forces opening of the server http server using loopback (local) connection (UE-199776) * add fallback to local connection for asio if we get access denied on public port
* 0.2.31-pre1v0.2.31-pre1Dan Engelbrecht2023-11-091-1/+1
|
* removed duplicate and unused constantsStefan Boberg2023-11-091-8/+0
|
* reduce number of files generated on shared instances (#524)Stefan Boberg2023-11-093-1/+9
|
* 0.2.31-pre0v0.2.31-pre0Dan Engelbrecht2023-11-081-1/+1
|
* don't try to close NewBlockFile if it hasn't been created (#523)Dan Engelbrecht2023-11-082-1/+2
| | | * Don't try to close NewBlockFile if it hasn't been created
* disk layer gc and error/warnings cleanup (#515)Dan Engelbrecht2023-11-087-80/+134
| | | | | | | - Improvement: Use GC reserve when writing index/manifest for a disk cache bucket when disk is low when available - Improvement: Demote errors to warning for issues that are not critical and we handle gracefully - Improvement: Treat more out of memory errors from windows as Out Of Memory errors Fixed wrong sizeof() statement for compactcas index (luckily the two structs are of same size)
* implemented openssl-free encryption for Windows (#520)Stefan Boberg2023-11-084-14/+196
| | | trims 40% off the (Windows) executable size
* changed logic around sponsor process monitoring (#522)Stefan Boberg2023-11-082-1/+2
| | | with this change, any sponsor is registered synchronously at startup, instead of one second after.
* removed zstd references (#521)Stefan Boberg2023-11-082-4/+2
|
* Don't put cache entries into the memory cache on Put, only on Get (#518)Dan Engelbrecht2023-11-073-21/+25
|
* factored out some compiler definitions etc into zenbase (#517)Stefan Boberg2023-11-0736-343/+376
| | | | | this is a header-only library which mostly contains definitions to support different platforms and compilers. It is part of the zen codebase but is intended to be consumable separately to zenbase etc to support standalone transport plug-ins and similar.
* bump xmake CI version to 2.8.2 (#514)Dan Engelbrecht2023-11-073-18/+13
| | | | * bump xmake CI version to 2.8.2 * show test times in log