aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* create context structures to reduce individually captured variablesde/builds-cmd-refactorDan Engelbrecht2025-05-231-840/+858
|
* use explicit capture for lambdas (#404)Dan Engelbrecht2025-05-202-896/+1254
|
* Merge pull request #402 from ue-foundation/zs/fix-oplog-import-oplog-creationZousar Shaker2025-05-201-6/+0
|\ | | | | Zs/fix oplog import oplog creation
| * Fix oplog creation during oplog-importzousar2025-05-171-6/+0
| |
* | replace copy file (#403)Dan Engelbrecht2025-05-201-6/+34
| | | | | | Custom CopyFile in zen builds command increasing throughput by 50% on Windows and give better progress update
* | handle exception with batch work (#401)Dan Engelbrecht2025-05-199-424/+463
|/ | | | | | | | | | | | | | | * use ParallelWork in rpc playback * use ParallelWork in projectstore * use ParallelWork in buildstore * use ParallelWork in cachedisklayer * use ParallelWork in compactcas * use ParallelWork in filecas * don't set abort flag in ParallelWork destructor * add PrepareFileForScatteredWrite for temp files in httpclient * Use PrepareFileForScatteredWrite when stream-decompressing files * be more relaxed when deleting temp files * allow explicit zen-cache when using direct host url without resolving * fix lambda capture when writing loose chunks * no delay when attempting to remove temp files
* parallel work handle dispatch exception (#400)Dan Engelbrecht2025-05-1611-1372/+1444
| | | - Bugfix: Wait for async threads if dispatching of work using ParallellWork throws exception
* validate custom fields (#399)Stefan Boberg2025-05-161-1/+44
| | | | * implemented validation of compact binary custom fields
* sparse win file write (#398)Dan Engelbrecht2025-05-164-1/+51
| | | * Added `--use-sparse-files` option to `zen builds` command improving write performance of large files. Enabled by default.
* make sure tests initialize trace so we don't end up allocating tons of ↵Stefan Boberg2025-05-157-2/+13
| | | | memory for no reason (#397)
* `zen oplog-import` and `zen oplog-export` now supports ↵Dan Engelbrecht2025-05-141-0/+12
| | | | `--oidctoken-exe-path` option (#395)
* extend log on failed httpsys response (#394)Dan Engelbrecht2025-05-132-8/+22
| | | | | * extend log on failed httpsys response * fix formatting for "Desired port is in use, retrying" * add warning log if port is remapped
* skip empty or single-space command line arguments (#393)Dan Engelbrecht2025-05-131-1/+5
|
* keep snapshot on log delete fail (#391)Dan Engelbrecht2025-05-127-158/+88
| | | | | - Improvement: Cleaned up snapshot writing for CompactCAS/FileCas/Cache/Project stores - Improvement: Safer recovery when failing to delete log for CompactCAS/FileCas/Cache/Project stores - Improvement: Added log file reset when writing snapshot at startup for FileCas
* enable per bucket config (#388)Dan Engelbrecht2025-05-125-16/+208
| | | | Feature: Add per bucket cache configuration (Lua options file only) Improvement: --cache-memlayer-sizethreshold is now deprecated and has a new name: --cache-bucket-memlayer-sizethreshold to line up with per cache bucket configuration
* tweak iterate block parameters (#390)Dan Engelbrecht2025-05-122-34/+50
| | | * tweak block iteration chunk sizes
* handle exception in oplog mirror (#389)Dan Engelbrecht2025-05-121-46/+68
| | | * gracefully handle errors in threaded part of oplog-mirror
* flush cas log file (#387)Dan Engelbrecht2025-05-092-46/+31
| | | * make sure we remove the cas log file when writing full index at startup
* Change plugin config parsing to warn instead of throwzousar2025-05-071-8/+8
|
* make RemoveExpiredData and PreCache serial to reduce CPU overhead / lock ↵Dan Engelbrecht2025-05-071-85/+61
| | | | | contention (#385) * make RemoveExpiredData and PreCache serial to reduce CPU overhead / lock contention
* optimize block store CompactBlocks (#384)Dan Engelbrecht2025-05-074-33/+61
| | | | | - Improvement: Optimize block compact reducing memcpy operations - Improvement: Handle padding of block store blocks when compacting to avoid excessive flusing of write buffer - Improvement: Handle padding when writing oplog index snapshot to avoid unnecessary flushing of write buffer
* added logic to handle empty directories correctly (#383)Stefan Boberg2025-05-071-1/+12
| | | * added logic to handle empty directories correctly
* optimize cache bucket state writing (#382)Dan Engelbrecht2025-05-061-42/+59
| | | * optimize cache bucket snapshot and sidecar writing
* add sentry for zen command (#373)Dan Engelbrecht2025-05-068-23/+68
| | | | * refactor sentry integration and add to zen command line tool * move add_ldflags("-framework Security")
* builds allow redirect option (#379)Dan Engelbrecht2025-05-059-67/+107
| | | * add --allow-redirect to zen builds upload/download
* make OOD and OOM in gc non critical (#381)Dan Engelbrecht2025-05-051-27/+218
| | | | * oom and ood exceptions in GC are now treated as warnings instead of errors
* UE style formatted progress output (#380)Dan Engelbrecht2025-05-056-95/+350
| | | * add UE style @progress style progress
* silence Out Of Disk errors to sentry (#378)Dan Engelbrecht2025-05-051-48/+56
| | | | | * block writing GC state/info if disk is full * fix if/else on error while writing gc state
* iterate chunks crash fix (#376)Dan Engelbrecht2025-05-025-77/+315
| | | * Bugfix: Add explicit lambda capture in CasContainer::IterateChunks to avoid accessing state data references
* cbobject validation (#377)Dan Engelbrecht2025-05-021-10/+31
| | | | * validate incoming CbObject to cache when receiving a package * validate records when fetched from store in cache before parsing them
* replace local equal_to_2 with eastl impl (#368)Stefan Boberg2025-04-251-16/+2
|
* fix race in rpcrecorder (#375)Stefan Boberg2025-04-251-0/+6
|
* Merge branch 'main' into zs/zencli-list-namespaces-bucketsZousar Shaker2025-04-2442-927/+1735
|\
| * limit retries on buildpart finalize (#374)Dan Engelbrecht2025-04-241-2/+8
| | | | | | * limit retries on buildpart finalize
| * use state file if available when doing builds diff command (#369)Dan Engelbrecht2025-04-241-81/+62
| | | | | | | | * use state file if available when doing builds diff command * remove dead code
| * fix buildstore disksizelimit lua config name (#372)Dan Engelbrecht2025-04-241-1/+1
| |
| * close servers in multi server (#371)Dmytro Ivanov2025-04-241-0/+4
| |
| * add retry on internal error / bad gateway (#370)Dan Engelbrecht2025-04-241-1/+3
| | | | | | * do http client retry on internal error and bad gateway
| * predicate to enable compiling with later EASTL version (#367)Stefan Boberg2025-04-241-1/+1
| |
| * zen wipe command (#366)Dan Engelbrecht2025-04-234-1/+615
| | | | | | | | | | | | | | | | | | | | | | - Feature: New `zen wipe` command for fast cleaning of directories, it will not remove the directory itself, only the content - `--directory` - path to directory to wipe, if the directory does not exist or is empty, no action will be taken - `--keep-readonly` - skip removal of read-only files found in directory, defaults to `true`, set to `false` to remove read-only files - `--quiet` - reduce output to console, defaults to `false` - `--dryrun` - simulate the wipe without removing anything, defaults to `false` - `--yes` - skips prompt to confirm wipe of directory - `--plain-progress` - show progress using plain output - `--verbose` - enable verbose console output - `--boost-workers` - increase the number of worker threads, may cause computer to be less responsive, defaults to `false`
| * parse system dir for builds (#365)Dan Engelbrecht2025-04-232-6/+6
| | | | | | | | * make sure we always parse system options for zen builds command * make MakeSafeAbsolutePath nodiscard
| * Make plugin loading errors non fatal (#364)Dmytro Ivanov2025-04-233-29/+46
| | | | | | | | make plugin loading errors non fatal
| * make sure to call MakeSafeAbsolutePathÍnPlace where appropriate (#363)Dan Engelbrecht2025-04-232-16/+16
| |
| * review fixesDmytro Ivanov2025-04-221-1/+1
| |
| * Added config, versioning and logging for pluginsDmytro Ivanov2025-04-227-109/+295
| |
| * add cxxopts overload for parsing file paths from command line (#362)Dan Engelbrecht2025-04-2226-703/+682
| |
| * xmake updatefrontendzousar2025-04-161-0/+0
| |
| * Make metadata presentation more genericzousar2025-04-151-23/+42
| |
| * xmake updatefrontendzousar2025-04-151-0/+0
| |
| * Fix for BigInt conversion bugzousar2025-04-151-1/+1
| |