diff options
| author | Dan Engelbrecht <[email protected]> | 2025-08-06 14:54:09 +0200 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2025-08-06 14:54:09 +0200 |
| commit | bc21f2ea5bd42e14a524434d220f708e012c4293 (patch) | |
| tree | e6de99966baa3fd391c4ce7d7e29c4f4cf13a5bc /src | |
| parent | refactor blobstore (#458) (diff) | |
| download | zen-bc21f2ea5bd42e14a524434d220f708e012c4293.tar.xz zen-bc21f2ea5bd42e14a524434d220f708e012c4293.zip | |
retry finalize if we get a "needs" on a blob we did not create (#461)
Diffstat (limited to 'src')
| -rw-r--r-- | src/zen/cmds/builds_cmd.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/zen/cmds/builds_cmd.cpp b/src/zen/cmds/builds_cmd.cpp index cd27daa9e..fc3580d75 100644 --- a/src/zen/cmds/builds_cmd.cpp +++ b/src/zen/cmds/builds_cmd.cpp @@ -2904,8 +2904,10 @@ namespace { } else { - throw std::runtime_error( - fmt::format("Can not upload requested build blob {} as it was not generated by this upload", RawHash)); + ZEN_CONSOLE( + "Warning: Build blob {} was reported as needed for upload but it was reported as existing at the start of the " + "operation. Treating it as a transient inconsistent issue and will attempt to retry finalization", + RawHash); } } uint64_t TotalRawSize = TotalLooseChunksSize + TotalBlocksSize; |