aboutsummaryrefslogtreecommitdiff
path: root/zenstore
Commit message (Collapse)AuthorAgeFilesLines
* Add `import-project` and `export-project` (#183)Dan Engelbrecht2022-11-186-19/+45
| | | * Add `import-project` and `export-project` command line parsing
* move BasicFile to zenutil to remove zenstore dependency from zen command (#190)Dan Engelbrecht2022-11-177-695/+5
|
* Adjust errors vs warnings messages (#160)Dan Engelbrecht2022-09-083-3/+3
| | | | * demote a number of ZEN_ERROR to ZEN_WARN * changelog
* Remove legacy code (#161)Dan Engelbrecht2022-09-082-221/+0
| | | | * changelog * remove obsolete legacy code
* Make cas storage an hidden implementation detail of CidStore (#130)v0.1.4-pre6v0.1.4-pre5Dan Engelbrecht2022-06-1717-1269/+620
| | | | | | | | | | | | | | | | | | - 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 mainStefan Boberg2022-06-163-111/+195
|
* removed more unnecessary CasStore related codeStefan Boberg2022-06-133-42/+0
|
* cidstore: propagate the correct content typeStefan Boberg2022-06-101-0/+2
|
* gc: improved message indicating no GC is scheduledStefan Boberg2022-06-101-1/+1
|
* We need to make each Cache Key contribution per bucket unique even across ↵Dan Engelbrecht2022-06-072-14/+8
| | | | namespaces
* Always block GC of current write blockDan Engelbrecht2022-05-311-0/+4
|
* Make sure we can properly create the block file before assigning it for useDan Engelbrecht2022-05-271-14/+18
|
* De/fix namespace folder scanning (#103)Dan Engelbrecht2022-05-231-1/+2
|
* Add catch2 support (#101)Stefan Boberg2022-05-203-7/+7
| | | | | | | 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.
* Merge pull request #89 from EpicGames/de/namespacesv1.0.1.5Dan Engelbrecht2022-05-091-30/+10
|\ | | | | Add namespacecachestore layer to allow multiple structured cache namespaces
| * Added GetDirectoryContent utilityDan Engelbrecht2022-05-061-30/+10
| |
* | Make sure blockstore owner and block store state does not get out of sync ↵Dan Engelbrecht2022-05-085-94/+38
|/ | | | | | 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 parallelDan Engelbrecht2022-05-033-36/+45
|
* unused variable in test fixDan Engelbrecht2022-05-031-4/+4
|
* threading test for blockstoreDan Engelbrecht2022-05-031-1/+91
|
* more tests for block storeDan Engelbrecht2022-05-033-17/+334
|
* cleanupDan Engelbrecht2022-05-032-5/+1
|
* switched back memory_order for m_TotalSize to relaxedDan Engelbrecht2022-05-021-2/+2
|
* clean up any incomplete blocks if ReclaimSpace failsDan Engelbrecht2022-05-021-136/+153
|
* Make sure we close all block files when dropping a cache bucketDan Engelbrecht2022-05-022-0/+12
|
* simplify lambda capturesDan Engelbrecht2022-05-024-37/+23
|
* Refactor WriteChunk to not need callbackDan Engelbrecht2022-05-023-36/+22
|
* Don't use "GC" term in block storeDan Engelbrecht2022-05-022-5/+5
|
* restore cg commentDan Engelbrecht2022-05-021-2/+25
|
* cleanupDan Engelbrecht2022-05-023-48/+48
|
* add back gc space reclaim callDan Engelbrecht2022-05-023-7/+12
|
* use std::vector<std::pair>> instead of mapDan Engelbrecht2022-05-023-26/+10
|
* refactor structured cache to use blockstore migrateDan Engelbrecht2022-05-021-3/+3
|
* Move bulk of MigrateLegacyData to blockstore.cppDan Engelbrecht2022-05-023-229/+281
|
* cleanupDan Engelbrecht2022-05-012-17/+20
|
* respect Ctx.RunRecovery()Dan Engelbrecht2022-05-011-20/+24
|
* reimplement CasContainerStrategy::ScrubDan Engelbrecht2022-05-013-78/+140
|
* remove m_TotalSize for blockstoreDan Engelbrecht2022-05-012-22/+23
| | | | fix scrub logic in structured cache store
* collectgarbage for compactcas and structured cache uses shared implementationDan Engelbrecht2022-05-013-68/+37
|
* threading issues resolvedDan Engelbrecht2022-05-013-100/+120
|
* first pass at generic block store with gcDan Engelbrecht2022-04-304-460/+634
|
* Merge remote-tracking branch 'origin/main' into de/cache-with-block-storeDan Engelbrecht2022-04-271-1/+1
|\
| * Batch log removal of Cid and take proper lock when modifying m_CidMap (#80)v1.0.0.4Dan Engelbrecht2022-04-261-12/+11
| | | | | | | | | | | | | | * Batch log removal of Cid and take proper lock when modifying m_CidMap * variable name casing * Don't access m_Buckets without a lock
* | correct expire vs contributeDan Engelbrecht2022-04-123-22/+13
|/
* wait until work is completed, not just picked upDan Engelbrecht2022-04-121-12/+21
|
* safer check for added size i threaded testDan Engelbrecht2022-04-121-1/+3
|
* reduce number of chunks in compactcas.threadedinsertDan Engelbrecht2022-04-121-1/+1
|
* remove unused variableDan Engelbrecht2022-04-121-1/+1
|
* Fix failing test due to not generating unique test dataDan Engelbrecht2022-04-121-70/+70
|
* Mac fixMartin Ridgers2022-04-121-1/+1
|