diff options
| author | Stefan Boberg <[email protected]> | 2026-03-10 18:44:45 +0100 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2026-03-10 18:44:45 +0100 |
| commit | da0af02b6f4adf4592168667cd6a68c16030eb87 (patch) | |
| tree | 61375bdeed179a353c9bf318701968fd2e740894 /zencore/httpsys.cpp | |
| parent | HttpClient using libcurl, Unix Sockets for HTTP. HTTPS support (#770) (diff) | |
| download | zen-da0af02b6f4adf4592168667cd6a68c16030eb87.tar.xz zen-da0af02b6f4adf4592168667cd6a68c16030eb87.zip | |
minor zenstore/blockstore fixes (#821)
- Fix clang-format error accidentally introduced by recent PR
- Fix `FileSize()` CAS race that repeatedly invalidated the cache when concurrent callers both missed; remove `store(0)` on CAS failure
- Fix `WriteChunks` not accounting for initial alignment padding in `m_TotalSize`, causing drift vs `WriteChunk`'s correct accounting
- Fix Create retry sleep computing negative values (100 - N*100 instead of 100 + N*100), matching the Open retry pattern
- Fix `~BlockStore` error log missing format placeholder for `Ex.what()`
- Fix `GetFreeBlockIndex` infinite loop when all indexes have orphan files on disk but aren't in `m_ChunkBlocks`; bound probe to `m_MaxBlockCount`
- Fix `IterateBlock` ignoring `SmallSizeCallback` return value for single out-of-bounds chunks, preventing early termination
- Fix `BlockStoreCompactState::IterateBlocks` iterating map by value instead of const reference
Diffstat (limited to 'zencore/httpsys.cpp')
0 files changed, 0 insertions, 0 deletions