aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Control overwrite enforcement with a config settingzousar2025-03-026-47/+154
| | | | |
* | | | | Move utility methods in cachedisklayerzousar2025-02-261-38/+38
| | | | | | | | | | | | | | | | | | | | Value comparison methods moved to more appropriate area in file.
* | | | | Enforce Overwrite Prevention According To Cache Policyzousar2025-02-267-130/+311
| | | | | | | | | | | | | | | | | | | | Overwrite with differing value should be denied if QueryLocal is not present and StoreLocal is present. Overwrite with equal value should succeed regardless of policy flags.
* | | | | Expand and fix unit tests for overwrite behaviorzousar2025-02-261-7/+82
| | | | |
* | | | | Add unit test for overwrite behaviorzousar2025-02-181-0/+102
|/ / / /
* | | | handle special backslash followed by quote for paths (#279)Dan Engelbrecht2025-01-221-4/+16
| | | |
* | | | Add multithreading directory scanning in core/filesystem (#277)Dan Engelbrecht2025-01-2216-131/+290
| | | | | | | | | | | | | | | | | | | | | | | | add DirectoryContent::IncludeFileSizes add DirectoryContent::IncludeAttributes add multithreaded GetDirectoryContent use multithreaded GetDirectoryContent in workspace folder scanning
* | | | jupiter code cleanup (#276)Dan Engelbrecht2025-01-2216-1102/+1007
| |_|/ |/| | | | | | | | | | | | | | | | | * cleanup jupiter * move jupiter files to separate folder * CloudCache -> Jupiter * split up jupiter files * kill redundant JupiterAccessTokenProvider
* | | add missing statsd.enabled and gc.projectstore.duration.seconds (#275)Dan Engelbrecht2025-01-161-10/+13
| | | | | | | | | | | | | | | - Bugfix: Fix parsing of workspace options in Lua config - Bugfix: Add missing Lua option for option `--gc-projectstore-duration-seconds` - Bugfix: Add missing Lua mapping option to `--statsd` command line option
* | | export oplog to zen target url (#274)Dan Engelbrecht2025-01-162-4/+5
| | | | | | | | | | | | * fix oplog target url for oplog export to remote zenserver * verify that chunking is allowed before chunking loose files
* | | move basicfile.h/cpp -> zencore (#273)Dan Engelbrecht2025-01-1642-53/+54
| | | | | | | | | | | | | | | | | | move jupiter.h/cpp -> zenutil move packageformat.h/.cpp -> zenhttp zenutil now depends on zenhttp instead of the inverse
* | | Suppress progress report callback if oplog import detects zero op oplog (#271)Dan Engelbrecht2025-01-136-11/+28
|/ / | | | | | | * Suppress progress report callback if oplog import detects oplog with zero ops * output error code when catching system errors
* | increase limit for mmap path to 8kb (#270)Dan Engelbrecht2024-12-191-1/+1
| |
* | don't add overhead of verifying oplog presence on disk for "getchunks" rpc ↵Dan Engelbrecht2024-12-181-3/+5
| | | | | | | | call (#269)
* | Miscellaneous minor LLM fixes (#268)v5.5.17-pre0Stefan Boberg2024-12-174-4/+9
| | | | | | | | | | | | | | With this change, LLM tags are assigned using the name,parent tuple rather than just by name only. This allows tag hierarchies like `cache/store` and `project/store` which would previously get collapsed into the first pair seen when registering the `store` tag. This PR also adds some more LLM tag annotations to more accurately associate memory allocations with subsystems In addition, this PR also tweaks the frequency of timer marker events to increase the resolution in Insights and avoid some cases of Insights deciding that marker events are too far apart since we don't allocate as frequently as UE tends to.
* | batch fetch record cache values (#266)Dan Engelbrecht2024-12-173-21/+90
| | | | | | | | | | | | - Improvement: Batch fetch record attachments when appropriate - Improvement: Reduce memory buffer allocation in BlockStore::IterateBlock - Improvement: Tweaked BlockStore::IterateBlock logic when to use threaded work (at least 4 chunks requested) - Bugfix: CasContainerStrategy::IterateChunks could give wrong payload/index when requesting 1 or 2 chunks
* | remove all referenced attachments in op from pending chunk references (#267)Dan Engelbrecht2024-12-171-5/+7
| |
* | more memory tagging and fixes (#263)Stefan Boberg2024-12-169-8/+272
| | | | | | This change adds more instrumentation for memory tracking, so that as little as possible comes through as Unknown in Insights analysis.
* | fix trailing path separator in workspace commands (#265)Dan Engelbrecht2024-12-131-0/+15
| |
* | Implemented temporary workaround for long paths in ComputeOpKeyStefan Boberg2024-12-131-3/+72
| | | | | | | | also added a test case to exercise the logic
* | added test verification of XXH3_128Stream vs XXH3_128::HashMemoryStefan Boberg2024-12-131-0/+2
| |
* | fixed XXH3_128Stream so it initializes the state properlyStefan Boberg2024-12-134-5/+42
| | | | | | | | the old version is still present for now, with a _deprecated suffix
* | added ComputeOpKey so all instances of mapping key -> Oid is in a single placeStefan Boberg2024-12-132-24/+33
| |
* | added xxhash unit tests (which currently fail)Stefan Boberg2024-12-132-0/+46
| |
* | Dashboard: view -> list rename, table style fix, file name appended to ↵Martin Ridgers2024-12-125-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | downloads (#264) * Single-column tables could overflow their maximum width * Suffix oplog entry data's file name when downloading * Renamed "view" link to "list" * Ensure all undesirable characters are removed from page name * Updated embedded frontend Zip archive * Wrote some entries into the changelog
* | Builds API remote project store (#258)Dan Engelbrecht2024-12-1213-310/+1465
| | | | | | Feature: zen command oplog-export and oplog-import now supports --builds remote target using the Jupiter builds API
* | Memory tracking improvements (#262)Stefan Boberg2024-12-114-1/+21
| | | | | | | | | | * added LLM tag to properly tag RPC allocations * annotated some more httpsys functions with memory tags * only emit memory scope events if the active tag is different from the new tag
* | reduce oplog job name (#261)Dan Engelbrecht2024-12-111-2/+2
| | | | | | * reduce length of oplog import/export job name
* | improved payload validation in HttpClient (#259)Dan Engelbrecht2024-12-102-1259/+1510
| | | | | | | | | | * improved payload validation in HttpClient * separate error messages for FromCompressed and Decompress * refactor so we can do retry if decompression of block fails
* | auth fixes (#260)Dan Engelbrecht2024-12-103-32/+43
| | | | | | | | * fix so we can replace an openid provider that was read from disk file * fix OidcClient lifetime issues in authmg
* | global open process cache for projectstore (#257)Dan Engelbrecht2024-12-056-31/+64
| | | | | | | | * move openprocess cache to central location * enable openprocesscache in projectstore so "getchunks" can send filehandles when requested
* | projectstore getchunks rpc with modtag (#244)Dan Engelbrecht2024-12-0511-233/+1848
| | | | | | Feature: Project store "getchunks" rpc call /prj/{project}/oplog/{log}/rpc extended to accept both CAS (RawHash) and Id (Oid) identifiers as well as partial ranges
* | Unity build fixes (#253)Stefan Boberg2024-12-057-71/+79
| | | | | | some fixes to make everything build using unity build mode. Mostly moved code from anonymous namespaces into local impl namespace to avoid ambiguity in name resolution.
* | ODR fixStefan Boberg2024-12-031-3/+3
| |
* | ODR violation fixStefan Boberg2024-12-031-2/+2
| |
* | reduce memory churn (#248)Stefan Boberg2024-12-025-11/+23
| | | | | | | | | | * eliminated allocation in SetCurrentThreadName * reduced memory allocator activity in cache RPC response building * reduced allocations in compact binary building
* | validate that root path exists for workspace before adding it (#250)Dan Engelbrecht2024-12-021-0/+5
| |
* | fix time regression on CI - iteratechunks block size (#249)Dan Engelbrecht2024-12-022-12/+12
| | | | | | | | * don't allow compact in time critical oplog calls * bump small chunk size limit when doing iteratechunks
* | added support for dynamic LLM tags (#245)Stefan Boberg2024-12-0227-34/+449
| | | | | | | | | | * added FLLMTag which can be used to register memory tags outside of core * changed `UE_MEMSCOPE` -> `ZEN_MEMSCOPE` for consistency * instrumented some subsystems with dynamic tags
* | make sure we don't throw exception from worker thread (#247)Dan Engelbrecht2024-11-284-339/+447
| | | | | | | | | | | | * Make sure we don't throw exception from worker thread * secure async project flush * secure workspaces * spelling
* | fix oplog index path reading error (#246)Dan Engelbrecht2024-11-281-30/+41
| | | | | | * when reading paths for oplog index, make sure we don't point our string view to potentially stale memory
* | Dashboard CSS fixes and archival of a partial treemap view (#242)Martin Ridgers2024-11-284-6/+194
| | | | | | | | | | | | | | | | | | | | | | * Input boxes' text was unreadable when using the dark theme * Change from margins to padding top/bottom - easier to reason about vertical styling. * A treemap. Not used anywhere and not finished. Submitting so it isn't lost * Prevent tables' first content columns from collapsing * Dashboardk .zip archive update
* | set content type correctly for getchunkrange (#241)Dan Engelbrecht2024-11-281-3/+3
| |
* | add validation of payload responses in http client (#240)Dan Engelbrecht2024-11-271-220/+292
| | | | | | if response payload does not validate properly do a retry if applicable
* | use plain sorted array instead of map of vectors (#237)Dan Engelbrecht2024-11-272-22/+33
| | | | | | | | | | * use plain sorted array instead of map of vectors * reserve vectors up front = 5% perf increase * don't do batch read of chunks if we have a single chunk -> 1% perf gain
* | add missing shard lock in filecas compact (#239)Dan Engelbrecht2024-11-271-1/+6
| | | | | | | | * add missing shardlock during compact in filecas * add warning log when filecas fails to open a file it expects to be present
* | skip rawsize/size in getchunksinfo if chunk is missing (#238)Dan Engelbrecht2024-11-261-2/+2
| |
* | Dashboard: display package data sizes in oplog entry and tree views. (#232)Martin Ridgers2024-11-268-42/+168
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Wrong divisor for friendly giga-values * We want Explorer style for kilo/kibi units; round up * var -> const - zero idea if this matters * Include sum of an entry's package data sizes in index * Method to enurate all properties of a loaded oplog index * Include bulkdata size in an oplog index * Found a space that was missing * Show package data sizes when viewing an oplog entry * Navigating a component tree would error out at the end of the chain * Parameterise friendly rounding * Added size and rawsize columns to oplog tree view * Sort of parameterised indexer's worker count and page size * Right-align size columns on entry view page * Updated frontend .zip archive * A changelog update
* | snapshot crash (#234)Dan Engelbrecht2024-11-252-2/+102
| | | | | | | | * snapshot test * use proper IoBuffer constructor to take handle ownership
* | fix oplog snapshot deadlock (#233)Dan Engelbrecht2024-11-251-31/+57
| | | | | | | | * store inlined chunk as temp files and store to Cid after oplog iteration is complete and ops updated * make sure we can get to the payload when doing `prep` for new ops