summaryrefslogtreecommitdiffstats
path: root/yt/cpp/mapreduce/client/retry_heavy_write_request.cpp
diff options
context:
space:
mode:
authorhiddenpath <[email protected]>2025-05-20 14:17:53 +0300
committerhiddenpath <[email protected]>2025-05-20 14:35:08 +0300
commite15614086c8fe0f9fc9d5a7618cf815c248f6b1b (patch)
tree2542c4d9c12bb26144be42f997b1bacde0a7f469 /yt/cpp/mapreduce/client/retry_heavy_write_request.cpp
parent587d6bb291fbf231d6440d01326d4fd3387bcf77 (diff)
YT-25104: Align new writer behaviour with the oldest ones
commit_hash:a33872f7bf427339504d82c86c97504eb38757d9
Diffstat (limited to 'yt/cpp/mapreduce/client/retry_heavy_write_request.cpp')
-rw-r--r--yt/cpp/mapreduce/client/retry_heavy_write_request.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/yt/cpp/mapreduce/client/retry_heavy_write_request.cpp b/yt/cpp/mapreduce/client/retry_heavy_write_request.cpp
index dc3201c8b3e..9d3c84f34e4 100644
--- a/yt/cpp/mapreduce/client/retry_heavy_write_request.cpp
+++ b/yt/cpp/mapreduce/client/retry_heavy_write_request.cpp
@@ -67,7 +67,7 @@ void THeavyRequestRetrier::Retry(const std::function<void()> &function)
function();
return;
} catch (const std::exception& ex) {
- YT_LOG_ERROR("RSP %v - attempt %v failed",
+ YT_LOG_ERROR("RSP %v - %v failed",
Attempt_->RequestId,
RequestRetryPolicy_->GetAttemptDescription());
Attempt_.reset();
@@ -89,6 +89,7 @@ void THeavyRequestRetrier::Retry(const std::function<void()> &function)
throw;
}
NDetail::TWaitProxy::Get()->Sleep(*backoffDuration);
+ RequestRetryPolicy_->NotifyNewAttempt();
}
}
}