| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | moved source directories into `/src` (#264) | Stefan Boberg | 2023-05-02 | 1 | -1511/+0 |
| | | | | | | | * moved source directories into `/src` * updated bundle.lua for new `src` path * moved some docs, icon * removed old test trees | ||||
| * | save cache rawsize and rawhash in manifest file instead of log file (#251) | Dan Engelbrecht | 2023-04-21 | 1 | -4/+4 |
| | | | | | * save cache rawsize and rawhash in manifest file instead of log file * don't use # as prefix for counts in log | ||||
| * | tweaks for enabling unity builds | Stefan Boberg | 2023-04-19 | 1 | -9/+9 |
| | | | | | | | | | | | mostly changes to make sure anonymous namespaces don't clash and a change to avoid windows headers from leaking into other compilation units unity builds are not yet enabled by default, but can be enabled by uncommenting this line in the root `xmake.lua` ``` --add_rules("c++.unity_build") ``` | ||||
| * | Fix log index snapshot (#210) | Dan Engelbrecht | 2022-12-16 | 1 | -14/+17 |
| | | | | | | | * Fix log reading for structured cache store Make sure cache is flushed at exit * dont flush index to disk unless new entries have been written * changelog | ||||
| * | Fix logging of number of read entries from log/index file for stores (#204) | Dan Engelbrecht | 2022-12-08 | 1 | -2/+2 |
| | | | | | * Fix logging of number of read entries from log/index file for stores * changelog | ||||
| * | optimizations (#200) | Dan Engelbrecht | 2022-12-07 | 1 | -4/+9 |
| | | | | | | | | | | | | | | * Use direct file read and direct buffer allocation for small IoBuffer materalization * Reduce range of materialized data in CompositeBuffer reading CompressedBuffer header reading often only need a small part and not the whole file * reduce lock contention in IoBuffer::Materialize * Reduce parsing of compressed headers Validate header type at decompression * faster CreateDirectories - start from leaf going up and recurse back * optimized BufferHeader::IsValid * Add ValidateCompressedHeader to use when we don't need the actual compressed data Validate that we always get compressed data in CidStore::AddChunk * changelog | ||||
| * | Size based gc trigger (#197) | Dan Engelbrecht | 2022-12-02 | 1 | -11/+11 |
| | | | | | | - Feature: Disk size triggered GC, a soft disk usage limit for cache data. - Feature: New option `--gc-disk-size-soft-limit` (command line), `gc.cache.disksizesoftlimit` (lua config) controlling limit for soft disk usage limit. Defaults to zero which disables soft disk usage limit. - Improvement: Disk write pressure in GC log and cleaned up clutter in GC logging. | ||||
| * | reduce gc log spam (INFO -> DEBUG) (#199) | Dan Engelbrecht | 2022-12-02 | 1 | -1/+1 |
| | | |||||
| * | Fix disk usage stats (#194) | Dan Engelbrecht | 2022-11-24 | 1 | -19/+10 |
| | | | | | | | | | * Improve tracking of used disk space for filecas and compactcas Add tracking of used disk space for project store Remove ZenCacheStore as GcStorage/GcContributor - underlying ZenCacheNamespace instances register themselves directly - removing this also fixes double reporting of GcStorageSize for namespaces * changelog | ||||
| * | Adjust errors vs warnings messages (#160) | Dan Engelbrecht | 2022-09-08 | 1 | -1/+1 |
| | | | | | * demote a number of ZEN_ERROR to ZEN_WARN * changelog | ||||
| * | Make cas storage an hidden implementation detail of CidStore (#130)v0.1.4-pre6v0.1.4-pre5 | Dan Engelbrecht | 2022-06-17 | 1 | -596/+149 |
| | | | | | | | | | | | | | | | | | | | - Bumped ZEN_SCHEMA_VERSION - CasStore no longer a public API, it is hidden behind CidStore - Moved cas.h from public header folder - CidStore no longer maps from Cid -> Cas, we store entries in Cas under RawHash - CasStore now decompresses data to validate content (matching against RawHash) - CasChunkSet renames to HashKeySet and put in separate header/cpp file - Disabled "Chunk" command for now as it relied on CAS being exposed as a service - Changed CAS http service to Cid http server - Moved "Run" command completely inside ZEN_WITH_EXEC_SERVICES define - Removed "cas.basic" test - Uncommented ".exec.basic" test and added return-skip at start of test - Moved ScrubContext to separate header file - Renamed CasGC to GcManager - Cleaned up configuration passing in cas store classes - Removed CAS stuff from GcContext and clarified naming in class - Remove migration code | ||||
| * | merged from main | Stefan Boberg | 2022-06-16 | 1 | -30/+38 |
| | | |||||
| * | Add catch2 support (#101) | Stefan Boberg | 2022-05-20 | 1 | -1/+5 |
| | | | | | | | | Added option to use catch2 for unit tests Currently both doctest and catch2 are supported via some compatibility macros. doctest is the default, and ZEN_USE_CATCH2 needs to be defined to switch to catch2. Our goal is to evaluate how well catch2 works and switch to catch2 if everything pans out since UE5 now supports using catch2 for unit tests. | ||||
| * | Make sure blockstore owner and block store state does not get out of sync ↵ | Dan Engelbrecht | 2022-05-08 | 1 | -10/+4 |
| | | | | | | | when fetching a chunk Move MarkAsDeleteOnClose() to IoBuffer(ExtendedCore) and set it on close, SetFileInformationByHandle sometimes fails if done in parallel with FileMapping | ||||
| * | handle that more than one block can be written to in parallel | Dan Engelbrecht | 2022-05-03 | 1 | -17/+12 |
| | | |||||
| * | more tests for block store | Dan Engelbrecht | 2022-05-03 | 1 | -2/+2 |
| | | |||||
| * | switched back memory_order for m_TotalSize to relaxed | Dan Engelbrecht | 2022-05-02 | 1 | -2/+2 |
| | | |||||
| * | simplify lambda captures | Dan Engelbrecht | 2022-05-02 | 1 | -11/+9 |
| | | |||||
| * | Refactor WriteChunk to not need callback | Dan Engelbrecht | 2022-05-02 | 1 | -10/+9 |
| | | |||||
| * | restore cg comment | Dan Engelbrecht | 2022-05-02 | 1 | -2/+25 |
| | | |||||
| * | cleanup | Dan Engelbrecht | 2022-05-02 | 1 | -9/+4 |
| | | |||||
| * | add back gc space reclaim call | Dan Engelbrecht | 2022-05-02 | 1 | -1/+2 |
| | | |||||
| * | use std::vector<std::pair>> instead of map | Dan Engelbrecht | 2022-05-02 | 1 | -18/+2 |
| | | |||||
| * | Move bulk of MigrateLegacyData to blockstore.cpp | Dan Engelbrecht | 2022-05-02 | 1 | -217/+51 |
| | | |||||
| * | respect Ctx.RunRecovery() | Dan Engelbrecht | 2022-05-01 | 1 | -20/+24 |
| | | |||||
| * | reimplement CasContainerStrategy::Scrub | Dan Engelbrecht | 2022-05-01 | 1 | -78/+54 |
| | | |||||
| * | collectgarbage for compactcas and structured cache uses shared implementation | Dan Engelbrecht | 2022-05-01 | 1 | -45/+8 |
| | | |||||
| * | threading issues resolved | Dan Engelbrecht | 2022-05-01 | 1 | -15/+38 |
| | | |||||
| * | first pass at generic block store with gc | Dan Engelbrecht | 2022-04-30 | 1 | -454/+84 |
| | | |||||
| * | wait until work is completed, not just picked up | Dan Engelbrecht | 2022-04-12 | 1 | -12/+21 |
| | | |||||
| * | safer check for added size i threaded test | Dan Engelbrecht | 2022-04-12 | 1 | -1/+3 |
| | | |||||
| * | reduce number of chunks in compactcas.threadedinsert | Dan Engelbrecht | 2022-04-12 | 1 | -1/+1 |
| | | |||||
| * | remove unused variable | Dan Engelbrecht | 2022-04-12 | 1 | -1/+1 |
| | | |||||
| * | Fix failing test due to not generating unique test data | Dan Engelbrecht | 2022-04-12 | 1 | -70/+70 |
| | | |||||
| * | Mac fix | Martin Ridgers | 2022-04-12 | 1 | -1/+1 |
| | | |||||
| * | Be more strict with m_TotalSize atomic operations | Dan Engelbrecht | 2022-04-12 | 1 | -2/+2 |
| | | |||||
| * | clean up variable naming | Dan Engelbrecht | 2022-04-06 | 1 | -56/+55 |
| | | |||||
| * | formatting | Dan Engelbrecht | 2022-04-06 | 1 | -4/+1 |
| | | |||||
| * | logging tweaks | Dan Engelbrecht | 2022-04-06 | 1 | -11/+7 |
| | | |||||
| * | Only validate range of legacy entries on kept entries | Dan Engelbrecht | 2022-04-06 | 1 | -11/+26 |
| | | |||||
| * | fix migration when entries is out of data file range | Dan Engelbrecht | 2022-04-05 | 1 | -1/+7 |
| | | |||||
| * | Make index/log reading non-static member functions | Dan Engelbrecht | 2022-04-04 | 1 | -485/+469 |
| | | |||||
| * | remove GetTempLogPath | Dan Engelbrecht | 2022-04-04 | 1 | -5/+0 |
| | | |||||
| * | remove obsolete GetRecoverLogPath | Dan Engelbrecht | 2022-04-04 | 1 | -5/+0 |
| | | |||||
| * | always keep full log but read from index snapshot location if available | Dan Engelbrecht | 2022-04-04 | 1 | -100/+90 |
| | | |||||
| * | logging cleanup | Dan Engelbrecht | 2022-04-04 | 1 | -23/+29 |
| | | |||||
| * | fix logging when using disk reserve in compactcas | Dan Engelbrecht | 2022-04-02 | 1 | -2/+2 |
| | | |||||
| * | fix gc reclaim logic in compactcas | Dan Engelbrecht | 2022-04-02 | 1 | -2/+2 |
| | | |||||
| * | proper error handling when setting file size | Dan Engelbrecht | 2022-04-02 | 1 | -1/+1 |
| | | |||||
| * | rename EMode to Mode | Dan Engelbrecht | 2022-04-01 | 1 | -19/+19 |
| | | |||||