aboutsummaryrefslogtreecommitdiff
path: root/zenserver/cache/structuredcachestore.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed "incomplete type" error.Martin Ridgers2021-12-151-119/+0
| | | | | GCC throws this error when using forward-declared type as a value type for an std::pair (implicitly via a std::map).
* Removed duplicate unguarded Windows include statementMartin Ridgers2021-12-151-1/+0
|
* Merged main.Per Larsson2021-12-141-22/+28
|\
| * Merged mainMartin Ridgers2021-11-121-5/+10
| |\
| * | ZenCacheDiskLayer::DiscoverBuckets() was using wstring for pathsMartin Ridgers2021-11-021-3/+7
| | |
| * | CacheBucket::BuildPath() uses a PathBuilder instead of a WideStrBuilderMartin Ridgers2021-11-021-10/+10
| | |
| * | Merged mainMartin Ridgers2021-11-011-91/+31
| |\ \
| * | | Unhandled switch(enum) cases warningMartin Ridgers2021-11-011-0/+3
| | | |
| * | | Merged mainMartin Ridgers2021-11-011-1/+1
| |\ \ \
| * \ \ \ Merged mainMartin Ridgers2021-11-011-11/+82
| |\ \ \ \
| * | | | | Fixed up Windows-specific include statementsMartin Ridgers2021-10-291-1/+4
| | | | | |
* | | | | | Fixed bug in z$ GC.Per Larsson2021-12-131-34/+36
| | | | | |
* | | | | | Refactored z$ GC.Per Larsson2021-12-131-128/+163
| | | | | |
* | | | | | Added size to GcStorage.Per Larsson2021-12-101-12/+12
| | | | | |
* | | | | | Disabled cache tracker.Per Larsson2021-12-091-0/+4
| | | | | |
* | | | | | Added options for Z$ max duration and whether to collect small objects.Per Larsson2021-12-091-155/+134
| | | | | |
* | | | | | Fixed bug in z$ garbage collection.Per Larsson2021-12-091-117/+150
| | | | | |
* | | | | | Added z$ GC tests.Per Larsson2021-12-091-28/+140
| | | | | |
* | | | | | Added support for z$ small object garbage collection.Per Larsson2021-12-081-42/+205
| | | | | |
* | | | | | First pass of z$ garbage collection.Per Larsson2021-12-071-3/+95
| | | | | |
* | | | | | Added support for time based eviction policy in structured cache.Per Larsson2021-12-071-111/+213
| | | | | |
* | | | | | Added CacheStore and CAS store sizes to status endpoint.Per Larsson2021-11-301-7/+9
| | | | | |
* | | | | | Added z$ memory/disk layer size.Per Larsson2021-11-291-5/+151
| | | | | |
* | | | | | Fixed up some merge falloutStefan Boberg2021-11-181-36/+28
| | | | | |
* | | | | | merge from mainStefan Boberg2021-11-181-29/+37
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | |
| * | | | | Format fix.Per Larsson2021-11-111-5/+10
| | |_|_|/ | |/| | |
| * | | | Moved declaration of ZenDiskCacheLayer::CacheBucket in the .hMartin Ridgers2021-11-011-91/+31
| | |_|/ | |/| | | | | | | | | | | | | | | | | | GCC fails to compile if CacheBucket is only forward-declared within the class, issuing an "incomplete type" error in relation to the m_Buckets unordered map.
| * | | Fixed possible undefined use errorMartin Ridgers2021-11-011-1/+1
| | |/ | |/|
* | | z$: basic access trackingStefan Boberg2021-11-031-13/+23
| | |
* | | projectstore: added validation of oplog data during initializationStefan Boberg2021-11-011-4/+21
| | | | | | | | | | | | also added validation during writing
* | | Merged from mainStefan Boberg2021-10-291-1/+67
|\| |
| * | Minor cleanupStefan Boberg2021-10-291-37/+2
| | |
| * | z$: hooked up bucket traversal for gcStefan Boberg2021-10-291-11/+117
| |/ | | | | | | | | added some tests added "test" mode for zenserver, to run any tests embedded in the zenserver (example: `zenserver test -tx=z$.*`)
* | gc: Added GcStorage base class and hooked it up to CasGcStefan Boberg2021-10-211-9/+9
| |
* | gc: Made ref tracking optional on `ZEN_USE_REF_TRACKING`Stefan Boberg2021-10-191-1/+1
| | | | | | | | Ref tracking is not fully functional anyway
* | cas: Hooked up GC to structured cacheStefan Boberg2021-10-191-16/+36
| |
* | gc: moved GcContect from CAS into gc filesStefan Boberg2021-10-181-1/+7
|/
* structured cache: Implemented GarbageCollect() for disk and memory bucketsStefan Boberg2021-10-161-26/+87
|
* structured cache: fixed mistake in back-off logicStefan Boberg2021-10-151-9/+14
| | | | this bug would make PUTs to clean zen instances very slow
* clang-formatStefan Boberg2021-10-151-1/+1
|
* structuredcache: add code to handle conflict which can occur when multiple ↵Stefan Boberg2021-10-131-8/+27
| | | | PUTs of the same value occur close enough to cause issues due to file system races
* structured cache: Added locking around large cache value updates to prevent ↵Stefan Boberg2021-10-061-13/+37
| | | | races leading to file sharing violations
* Merged from upstreamStefan Boberg2021-10-051-53/+141
|
* cas: added some GC stubsStefan Boberg2021-10-011-19/+22
|
* Eliminated use of ATL in StructuredCacheStore implementationStefan Boberg2021-09-261-41/+39
|
* Added scrubbing logic to ZenCacheDiskLayer/ZenCacheMemoryLayerStefan Boberg2021-09-231-49/+152
| | | | This currently only goes through the motions of hashing the data to verify it, but does not perform recovery nor does it validate referential integrity
* Wired up scrubbing to more higher level servicesStefan Boberg2021-09-211-0/+7
| | | | Also moved sharding logic for filecas into a function to redduce cut/pasta
* Added more scrub stubs in higher level servicesStefan Boberg2021-09-201-4/+32
|
* Moved more code into zen namespace, for consistencyStefan Boberg2021-09-201-45/+48
| | | | Also removed snapshot_manifest (remnants of vfs prototype)
* Changed logging implementationStefan Boberg2021-09-151-3/+3
| | | | | | * 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