aboutsummaryrefslogtreecommitdiff
path: root/zenstore/gc.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Make cas storage an hidden implementation detail of CidStore (#130)v0.1.4-pre6v0.1.4-pre5Dan Engelbrecht2022-06-171-115/+59
| | | | | | | | | | | | | | | | | | - 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
* 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-071-12/+6
| | | | namespaces
* De/fix namespace folder scanning (#103)Dan Engelbrecht2022-05-231-1/+2
|
* simplify lambda capturesDan Engelbrecht2022-05-021-8/+6
|
* correct expire vs contributeDan Engelbrecht2022-04-121-8/+1
|
* remove fallocate on MacOSDan Engelbrecht2022-04-121-5/+0
|
* logging cleanupDan Engelbrecht2022-04-041-2/+2
|
* more linux fixesDan Engelbrecht2022-04-021-6/+6
|
* proper error handling when setting file sizeDan Engelbrecht2022-04-021-7/+7
|
* error handling in BasicFile::SetFileSizeDan Engelbrecht2022-04-011-4/+6
|
* linux compilation fixesDan Engelbrecht2022-04-011-4/+4
|
* make sure we allocate disk space when we set file sizeDan Engelbrecht2022-04-011-0/+8
|
* Make gc reserve a global resourceDan Engelbrecht2022-04-011-14/+163
|
* Improved GC loggingDan Engelbrecht2022-03-311-5/+16
|
* review feedbackDan Engelbrecht2022-03-311-1/+1
|
* WIPDan Engelbrecht2022-03-311-0/+5
|
* cleanupDan Engelbrecht2022-03-311-1/+1
|
* Fix insert offset when moving last chunkDan Engelbrecht2022-03-311-0/+17
|
* More testsDan Engelbrecht2022-03-311-43/+165
|
* WIPDan Engelbrecht2022-03-311-0/+53
|
* Fix gc shutdown stalling if shutting down while gc is runningDan Engelbrecht2022-03-311-2/+11
|
* Make sure we wait for gc thread to complete before exitingDan Engelbrecht2022-03-301-9/+15
|
* Fixed unexpected abort() call when joining an unjoinable threadMartin Ridgers2022-01-251-1/+4
|
* Converted use of _format UDL to fmt::formatMartin Ridgers2022-01-101-3/+1
|
* Apple Clang does not implement std::jthreadMartin Ridgers2022-01-071-1/+3
|
* Deleted unused statically-linked functionMartin Ridgers2021-12-151-2/+0
|
* Corrected include statement caseMartin Ridgers2021-12-151-1/+1
|
* Merged main.Per Larsson2021-12-141-1/+1
|\
* | Fixed bug in z$ service returning partial cache records and enable small ↵Per Larsson2021-12-141-0/+6
| | | | | | | | object GC by default.
* | Remove Cid to CAS chunk mapping after GC.Per Larsson2021-12-131-4/+97
| |
* | Fixed bug in z$ GC.Per Larsson2021-12-131-15/+22
| |
* | Refactored z$ GC.Per Larsson2021-12-131-6/+27
| |
* | Added support for triggering GC with different params and refactored GC ↵Per Larsson2021-12-121-54/+127
| | | | | | | | scheduler.
* | Set GC default enabled and interval set to zero (off).Per Larsson2021-12-101-32/+47
| |
* | Added options for Z$ max duration and whether to collect small objects.Per Larsson2021-12-091-8/+13
| |
* | Added support for time based eviction policy in structured cache.Per Larsson2021-12-071-5/+26
| |
* | Check available disk space before GC.Per Larsson2021-12-051-2/+10
| |
* | Added simple GC interval scheduling.Per Larsson2021-12-051-19/+136
| |
* | Added naive container CAS GC support.Per Larsson2021-12-011-1/+16
| |
* | Added CacheStore and CAS store sizes to status endpoint.Per Larsson2021-11-301-1/+1
| |
* | Moved GC to background thread and added endpoint to trigger/status GC.Per Larsson2021-11-291-1/+27
| |
* | gc: implemented CID remapping for GCStefan Boberg2021-11-011-2/+44
| |
* | gc: added DeletionMode flag to allow gc dry runsStefan Boberg2021-11-011-0/+13
| |
* | gc: CollectGarbage implementationStefan Boberg2021-11-011-0/+17
| |
* | filecas: Added commit log, chunk gcStefan Boberg2021-10-211-3/+15
| |
* | gc: Added GcStorage base class and hooked it up to CasGcStefan Boberg2021-10-211-1/+27
| |
* | Merge from mainStefan Boberg2021-10-191-0/+12
|\ \
| * | Some gc interface stubsStefan Boberg2021-10-181-1/+13
| | |
* | | cas: Hooked up GC to structured cacheStefan Boberg2021-10-191-1/+27
|/ /