aboutsummaryrefslogtreecommitdiff
path: root/zenserver/projectstore.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Added logic to fix project store tests (we use absolute file paths in the ↵Stefan Boberg2021-08-201-1/+6
| | | | test, unlike the cooker)
* CL16570338: CompactBinary: Added validation to LoadCompactBinary and removed ↵Stefan Boberg2021-08-201-4/+26
| | | | asserts from the other load functions
* Added {project}/oplog/{log}/{hash} endpoint (implemented by Matt Peters)Stefan Boberg2021-08-121-1/+102
| | | | Added project store flush implementation
* Support iterative cooks (#3)Per Larsson2021-06-231-10/+144
| | | | | | | | | | | | | | * Added new route to get all chunk IDs and chunk hashes. Changed to always update chunk mapping to support iterative cooks. * Replay latest oplog entries. * Include server path when fetching file(s) and support for fetching single oplog entry. * Removed get chunks route. * Removed iterate chunk map. * Take read lock when iterating oplog. * Take read lock when reading oplog entry. * Take ownership of buffer reading oplog entry. * Fixed incorrect oplog key when fetching single entry. * Changed map updates to use insert_or_assign for efficiency Co-authored-by: Stefan Boberg <[email protected]>
* Fixed issue with ProjectStore::OplogStorage::Exists()Stefan Boberg2021-06-091-7/+7
| | | | It would always return false, which was caused by earlier removal of the .zdb files
* Added initial implementation of chunk batch APICarl-Magnus Nordin2021-06-021-9/+56
|
* Added support for salt in oplog append operations, which can be used to ↵Stefan Boberg2021-06-021-3/+28
| | | | avoid payload file conflicts when multiple operations end up producing the same large output chunks
* clang-format fixesStefan Boberg2021-05-271-8/+8
|
* Added locks to protect against races in parallel oplog updatesStefan Boberg2021-05-271-0/+21
|
* Compile out all rocksdb code for a smaller binaryStefan Boberg2021-05-251-6/+16
|
* Eliminated exploratory LMDB/RocksDB code from default pathStefan Boberg2021-05-241-16/+3
|
* clang-formatStefan Boberg2021-05-221-1/+1
|
* Renamed CasBlobFile -> BasicFileStefan Boberg2021-05-211-3/+3
|
* Moved CasBlobFile into basicfile.hStefan Boberg2021-05-211-0/+1
|
* Added support for package additional files. Added io hash chunk id to… (#2)Per Larsson2021-05-211-90/+42
| | | | Added support for attaching additional files to oplog entries in project store
* Added oplog prep step to avoid redundant chunk transfersStefan Boberg2021-05-171-0/+74
|
* Implemented move-in-place for large CAS payloadsStefan Boberg2021-05-131-3/+3
|
* Made SharedBuffer/UniqueBuffer share guts with IoBufferStefan Boberg2021-05-131-2/+1
| | | | This enables way more efficient marshaling of compact binary objects and attachments
* Added minor TODOStefan Boberg2021-05-121-0/+1
|
* Implemented basic support for marshaling attachments out-of-band with the ↵Stefan Boberg2021-05-111-1/+14
| | | | | | | | package payload Currently supported in project store but will also be used for the structured cache Currently, cleanup is missing. Ultimately the intent is that the file used for marshaling will simply be moved into place.
* Adding zenservice codeStefan Boberg2021-05-111-0/+1547