Skip to content

Commit 3edbb9e

Browse files
hiddenpathblinkov
authored andcommitted
YT-23616: Add TransientError to retriable errors list
commit_hash:44da796ee80311e7b497fd79a86a38a52b250272
1 parent dfa69a7 commit 3edbb9e

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

yt/cpp/mapreduce/common/retry_lib.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ static TMaybe<TDuration> TryGetBackoffDuration(const TErrorResponse& errorRespon
230230
NRpc::Unavailable,
231231
NApi::RetriableArchiveError,
232232
NSequoiaClient::SequoiaRetriableError,
233+
NRpc::TransientFailure,
233234
Canceled,
234235
}) {
235236
if (allCodes.contains(code)) {

yt/cpp/mapreduce/interface/error_codes.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ namespace NRpc {
3939
constexpr int InvalidCsrfToken = 110;
4040
constexpr int InvalidCredentials = 111;
4141
constexpr int StreamingNotSupported = 112;
42+
constexpr int TransientFailure = 116;
43+
4244

4345
////////////////////////////////////////////////////////////////////////////////
4446

0 commit comments

Comments
 (0)