diff options
| -rw-r--r-- | CHANGELOG.md | 1 | ||||
| -rw-r--r-- | src/zen/cmds/builds_cmd.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 6cafaf839..9a0f767e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ - Improvement: If cloud-ddc requests upload of a blob it earlier reported as good to reuse we treat it as a transient error and attempt to retry - Bugfix: Parents were not notified when successfully attaching to an existing server instance - Bugfix: BuildStorage cache return "true" for metadata existance for all blobs that had payloads regardless of actual existance for metadata +- Bugfix: Builds download - don't query for block metadata if no blocks are required - Bugfix: Add the referenced attachments correctly when storing inline cache bucket records using batch mode ## 5.6.14 diff --git a/src/zen/cmds/builds_cmd.cpp b/src/zen/cmds/builds_cmd.cpp index fc3580d75..7cb12cd4c 100644 --- a/src/zen/cmds/builds_cmd.cpp +++ b/src/zen/cmds/builds_cmd.cpp @@ -8658,7 +8658,7 @@ namespace { std::vector<ChunkBlockDescription> UnorderedList; tsl::robin_map<IoHash, size_t, IoHash::Hasher> BlockDescriptionLookup; - if (Storage.BuildCacheStorage) + if (Storage.BuildCacheStorage && !BlockRawHashes.empty()) { std::vector<CbObject> CacheBlockMetadatas = Storage.BuildCacheStorage->GetBlobMetadatas(BuildId, BlockRawHashes); UnorderedList.reserve(CacheBlockMetadatas.size()); |