diff options
| author | Dan Engelbrecht <[email protected]> | 2024-04-03 12:32:34 +0200 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2024-04-03 12:32:34 +0200 |
| commit | 034459cb66580d0aa680ae96a18b5a884808386c (patch) | |
| tree | daef3bdb41666db9491cefc224f3da8c8b822631 /src/zenserver/projectstore/remoteprojectstore.cpp | |
| parent | compressed header reading opt (#33) (diff) | |
| download | zen-034459cb66580d0aa680ae96a18b5a884808386c.tar.xz zen-034459cb66580d0aa680ae96a18b5a884808386c.zip | |
zenremoteprojectstore with httpclient (#35)
- Bugfix: Fix log of Success/Failure for oplog import
- Improvement: Use HttpClient when doing oplog export/import with a zenserver as a remote target. Includes retry logic
- Improvement: Increase the retry count to 4 (5 attempts in total) when talking to Jupiter for oplog export/import
Diffstat (limited to 'src/zenserver/projectstore/remoteprojectstore.cpp')
| -rw-r--r-- | src/zenserver/projectstore/remoteprojectstore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenserver/projectstore/remoteprojectstore.cpp b/src/zenserver/projectstore/remoteprojectstore.cpp index ae4777278..e11541534 100644 --- a/src/zenserver/projectstore/remoteprojectstore.cpp +++ b/src/zenserver/projectstore/remoteprojectstore.cpp @@ -2658,7 +2658,7 @@ LoadOplog(CidStore& ChunkStore, ReportMessage(OptionalContext, fmt::format("Loaded oplog '{}' {} in {} ({}), Blocks: {} ({}), Attachments: {} ({}), Stored: {} ({}), Missing: {}", RemoteStoreInfo.ContainerName, - RemoteResult.GetError() == 0 ? "SUCCESS" : "FAILURE", + Result.ErrorCode == 0 ? "SUCCESS" : "FAILURE", NiceTimeSpanMs(static_cast<uint64_t>(Result.ElapsedSeconds * 1000.0)), NiceBytes(Info.OplogSizeBytes), Info.AttachmentBlocksDownloaded.load(), |