aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/httpserver.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2026-03-05 20:11:22 +0100
committerStefan Boberg <[email protected]>2026-03-05 20:11:22 +0100
commit0e913f9dda898d639977dec02ceba3da8dd1b620 (patch)
treef2f4e12eb46e5cb7f66042faf49a74e84c60e19f /src/zenhttp/httpserver.cpp
parentFix bugs in zencore/thread (diff)
downloadzen-0e913f9dda898d639977dec02ceba3da8dd1b620.tar.xz
zen-0e913f9dda898d639977dec02ceba3da8dd1b620.zip
Fix bugs in zenstore/blockstore
- 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 'src/zenhttp/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions