diff options
| author | Dan Engelbrecht <[email protected]> | 2024-03-22 23:00:54 +0100 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2024-03-22 23:00:54 +0100 |
| commit | 5e02fc9fa0a2480e608a72489baef5831b099460 (patch) | |
| tree | 8004ef01ef36c61aeb1223a499e14808469113e7 /src/zenutil/include | |
| parent | 5.4.2-pre7 (diff) | |
| download | zen-5e02fc9fa0a2480e608a72489baef5831b099460.tar.xz zen-5e02fc9fa0a2480e608a72489baef5831b099460.zip | |
re-enable partial cache chunks (#21)v5.4.2-pre9v5.4.2-pre12v5.4.2-pre11v5.4.2-pre10
* Separate chunk raw hash from section hash (how to find the fragment attachment)
* fix partial get cache value tests
Diffstat (limited to 'src/zenutil/include')
| -rw-r--r-- | src/zenutil/include/zenutil/cache/cacherequests.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/zenutil/include/zenutil/cache/cacherequests.h b/src/zenutil/include/zenutil/cache/cacherequests.h index 0913efc65..fbf3e08cc 100644 --- a/src/zenutil/include/zenutil/cache/cacherequests.h +++ b/src/zenutil/include/zenutil/cache/cacherequests.h @@ -195,10 +195,11 @@ namespace cacherequests { struct CacheValueResult { - uint64_t RawSize = 0; - uint64_t RawOffset = 0; - IoHash RawHash = IoHash::Zero; - CompressedBuffer Body = CompressedBuffer::Null; + uint64_t RawSize = 0; + uint64_t FragmentOffset = 0; + IoHash FragmentHash = IoHash::Zero; + IoHash RawHash = IoHash::Zero; + CompressedBuffer Body = CompressedBuffer::Null; }; struct CacheValuesResult |