aboutsummaryrefslogtreecommitdiff
path: root/zenstore/cidstore.cpp
Commit message (Collapse)AuthorAgeFilesLines
* always keep full log but read from index snapshot location if availableDan Engelbrecht2022-04-041-17/+19
|
* rename EMode to ModeDan Engelbrecht2022-04-011-1/+1
|
* Migration now works in larger disk IO chunksDan Engelbrecht2022-03-311-1/+1
| | | | BasicFile and CasLogFile now has new explicit modes instead of create true/false
* Merged main.Per Larsson2021-12-141-1/+1
|\
| * CAS.cpp/h -> cas.cpp/h to keep Zen's file casing consistentMartin Ridgers2021-10-291-1/+1
| |
* | Fixed bug in z$ service returning partial cache records and enable small ↵Per Larsson2021-12-141-10/+7
| | | | | | | | object GC by default.
* | Remove Cid to CAS chunk mapping after GC.Per Larsson2021-12-131-0/+27
| |
* | Added CacheStore and CAS store sizes to status endpoint.Per Larsson2021-11-301-0/+6
| |
* | cid: Added RemapCid() for use in GCStefan Boberg2021-11-011-0/+17
| |
* | cidstore: implemented validation of data during index initializationStefan Boberg2021-11-011-9/+24
|/
* Merged from upstreamStefan Boberg2021-10-051-1/+1
|
* clang-formatStefan Boberg2021-09-271-1/+1
|
* cidstore: made all updates log using LogMapping()Stefan Boberg2021-09-231-7/+23
| | | | also fixed issue with FindChunkByCid() which would assert when it should not
* Encapsulated containers in CasChunkSet to allow for more efficient ↵Stefan Boberg2021-09-211-4/+4
| | | | udpates/queries
* Wired up scrubbing to more higher level servicesStefan Boberg2021-09-211-11/+40
| | | | Also moved sharding logic for filecas into a function to redduce cut/pasta
* Implemented CID store scrubbingStefan Boberg2021-09-201-2/+73
| | | | Added support for tombstones in commit log to support scrubbing
* Added more scrub stubs in higher level servicesStefan Boberg2021-09-201-0/+7
|
* Moved more code into zen namespace, for consistencyStefan Boberg2021-09-201-1/+1
| | | | Also removed snapshot_manifest (remnants of vfs prototype)
* Compact binary package caching support (#9)Per Larsson2021-09-161-6/+7
|
* Changed logging implementationStefan Boberg2021-09-151-2/+2
| | | | | | * Code should no longer directly `#include spdlog/spdlog.h`, instead use `#include <zencore/logging.h>` * Instead of explicit calls to `spdlog::info(...)` and such please use the logging macros defined in `zencore/logging.h`. I.e `ZEN_INFO`, `ZEN_DEBUG`, `ZEN_TRACE`, `ZEN_ERROR`, `ZEN_CRITITCAL` * The macros will pick up the "most local" logger via a `Log()` call to retrieve a logger instance. To override the default logger in a class please implement your own `Log()` function
* Changed direct includes of spdlog/spdlog.h into zencore/logging.h to make it ↵Stefan Boberg2021-09-151-1/+1
| | | | easier to tweak implementation
* Extended CidStore implementation with some helper functionsStefan Boberg2021-09-141-0/+22
|
* Asynchronous upstream caching to JupiterPer Larsson2021-08-311-2/+23
| | | | Co-authored-by: Stefan Boberg <[email protected]>
* clang-formatStefan Boberg2021-08-121-1/+2
|
* Implemented Flush() operation for CID/CAS store interfacesStefan Boberg2021-08-111-0/+7
|
* Implemented simple persistence for CidStore, which stores CID->CAS mappingsStefan Boberg2021-05-241-9/+61
|
* Added CidStore, currently used to track relationships between compressed and ↵Stefan Boberg2021-05-241-0/+33
uncompressed chunk hashes This first implementation is in-memory only, persistence is next