diff options
| author | Dan Engelbrecht <[email protected]> | 2025-09-22 12:12:12 +0200 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2025-09-22 12:12:12 +0200 |
| commit | 6b59e4b72e65675c1eff6adee1e25eaa30e167cf (patch) | |
| tree | f0198ce4b11fb119f4b0e90b247289dcf1b445aa /src/zenstore | |
| parent | fetch cloud oplog (#502) (diff) | |
| download | zen-6b59e4b72e65675c1eff6adee1e25eaa30e167cf.tar.xz zen-6b59e4b72e65675c1eff6adee1e25eaa30e167cf.zip | |
issue error on second retry, not first attempt (#503)
Diffstat (limited to 'src/zenstore')
| -rw-r--r-- | src/zenstore/gc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zenstore/gc.cpp b/src/zenstore/gc.cpp index 1ddb25364..185bc2118 100644 --- a/src/zenstore/gc.cpp +++ b/src/zenstore/gc.cpp @@ -2858,7 +2858,7 @@ GcScheduler::CollectGarbage(const GcClock::TimePoint& CacheExpireTime, { ZEN_WARN("writing gc scheduler state ran out of disk space: '{}'", SystemError.what()); } - else if (RetryCount == 0) + else if (RetryCount == 2) { ZEN_ERROR("writing gc scheduler state failed with system error exception: '{}' ({})", SystemError.what(), @@ -2877,7 +2877,7 @@ GcScheduler::CollectGarbage(const GcClock::TimePoint& CacheExpireTime, } catch (const std::exception& Ex) { - if (RetryCount == 0) + if (RetryCount == 2) { ZEN_ERROR("writing gc scheduler state failed with: '{}'", Ex.what()); } |