aboutsummaryrefslogtreecommitdiff
path: root/zenstore/include
Commit message (Collapse)AuthorAgeFilesLines
...
* | | cas: Hooked up GC to structured cacheStefan Boberg2021-10-192-3/+24
|/ /
* / gc: moved GcContect from CAS into gc filesStefan Boberg2021-10-182-18/+23
|/
* Removed invalid commentStefan Boberg2021-10-081-1/+1
|
* basicfile: Added Write member functions accepting MemoryView for convenienceStefan Boberg2021-10-081-0/+2
|
* Merged from upstreamStefan Boberg2021-10-051-20/+32
|
* cas: added some GC stubsStefan Boberg2021-10-011-0/+14
|
* clang-formatStefan Boberg2021-09-271-2/+2
|
* Reimplemented CasLogFile in terms of BasicFileStefan Boberg2021-09-261-5/+5
| | | | This removes another ATL dependency in favour of something more platform independent
* Various BasicFile improvementsStefan Boberg2021-09-261-0/+2
| | | | | | | * BasicFile::Open clears error_code on entry, and exits early on failure to avoid initialization of m_FileHandle * Made BasicFile::Read handle large reads * Made BasicFile::Write handle large writes * Added BasicFile::WriteAll which may be optimized in the future to handle what is essentially a file copy more efficiently
* Added TemporaryFile implementation, provides a simple abstraction around ↵Stefan Boberg2021-09-251-2/+36
| | | | temporary files
* cidstore: added some implementation notesStefan Boberg2021-09-231-0/+5
|
* Encapsulated containers in CasChunkSet to allow for more efficient ↵Stefan Boberg2021-09-211-5/+9
| | | | udpates/queries
* Wired up scrubbing to more higher level servicesStefan Boberg2021-09-212-3/+15
| | | | Also moved sharding logic for filecas into a function to redduce cut/pasta
* Added more scrub stubs in higher level servicesStefan Boberg2021-09-201-0/+1
|
* Moved more code into zen namespace, for consistencyStefan Boberg2021-09-201-1/+1
| | | | Also removed snapshot_manifest (remnants of vfs prototype)
* Implemented BasicFile::StreamByteRangeStefan Boberg2021-09-191-0/+1
|
* Implemended basic scrubbing / detection of disk corruption. Still needs more ↵Stefan Boberg2021-09-191-12/+9
| | | | code to propagate errors and make adjustments to account for them in higher level data structures
* Added BasicFile::StreamFile helper function to support reading large files ↵Stefan Boberg2021-09-191-2/+4
| | | | in a chunked fashion (will be using memory-mapped strategy in the future where it makes sense)
* Changed some code over from ATL to BasicFile and added Scrub() stubs.Stefan Boberg2021-09-191-1/+2
|
* Added zenstore.h and made headers use itStefan Boberg2021-09-194-1/+18
|
* Changed BasicFile implementationStefan Boberg2021-09-191-6/+15
| | | | | | * No longer uses ATL on Windows (we just use raw Win32 API) * Added non-throwing Open() implementation * Added beginnings of a test suite, for verifying cross-platform implementation
* Compact binary package caching support (#9)Per Larsson2021-09-161-5/+12
|
* Extended CidStore implementation with some helper functionsStefan Boberg2021-09-141-4/+9
|
* Asynchronous upstream caching to JupiterPer Larsson2021-08-311-0/+1
| | | | Co-authored-by: Stefan Boberg <[email protected]>
* Added missing lock to side channel InsertChunk() implementationStefan Boberg2021-08-261-0/+9
| | | | Previously, this could cause file contention as two threads would try to create the same chunk file
* Implemented more formalised CAS chunk filtering (with plenty of room for ↵Stefan Boberg2021-08-231-0/+14
| | | | optimization)
* Implemented support for dropping z$ buckets while onlineStefan Boberg2021-08-171-0/+1
|
* Implemented Flush() operation for CID/CAS store interfacesStefan Boberg2021-08-112-2/+6
|
* clang-formatStefan Boberg2021-06-021-3/+3
|
* Removed pointer-based InsertChunk from CAS store interface.Stefan Boberg2021-05-251-1/+0
| | | | All code must now use the IoBuffer path
* Implemented simple persistence for CidStore, which stores CID->CAS mappingsStefan Boberg2021-05-241-3/+7
|
* Added TODO to CasLogFile::AppendStefan Boberg2021-05-241-1/+7
|
* Added CidStore, currently used to track relationships between compressed and ↵Stefan Boberg2021-05-241-0/+34
| | | | | | uncompressed chunk hashes This first implementation is in-memory only, persistence is next
* Tiny comment fixStefan Boberg2021-05-231-1/+1
|
* clang-formatStefan Boberg2021-05-221-1/+1
|
* Renamed CasBlobFile -> BasicFileStefan Boberg2021-05-211-1/+5
|
* Moved CasBlobFile into basicfile.hStefan Boberg2021-05-212-20/+30
|
* Adding zenservice codeStefan Boberg2021-05-114-0/+214