diff options
author | kvk1920 <kvk1920@yandex-team.com> | 2024-04-07 16:29:24 +0300 |
---|---|---|
committer | kvk1920 <kvk1920@yandex-team.com> | 2024-04-07 16:39:40 +0300 |
commit | 72eeab5172756159750eef875745e2a6f5b0004f (patch) | |
tree | 1896404822df1d2e2dd04a533eef4268a00aa2bd /yt/cpp/mapreduce/common/retry_lib.cpp | |
parent | 42da44fa8e0963eb9c00831a730bb7e21ebf34ec (diff) | |
download | ydb-72eeab5172756159750eef875745e2a6f5b0004f.tar.gz |
YT-18503: Mirror Cypress Tx to Sequoia Ground
e6d585180289325f8082f42f85a60478194ba266
Diffstat (limited to 'yt/cpp/mapreduce/common/retry_lib.cpp')
-rw-r--r-- | yt/cpp/mapreduce/common/retry_lib.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/yt/cpp/mapreduce/common/retry_lib.cpp b/yt/cpp/mapreduce/common/retry_lib.cpp index cf2c021eb4..772a2ab0cd 100644 --- a/yt/cpp/mapreduce/common/retry_lib.cpp +++ b/yt/cpp/mapreduce/common/retry_lib.cpp @@ -220,10 +220,11 @@ static TMaybe<TDuration> TryGetBackoffDuration(const TErrorResponse& errorRespon // chunk client errors return config->ChunkErrorsRetryInterval; } - for (auto code : TVector<int>{ + for (auto code : { NRpc::TransportError, NRpc::Unavailable, NApi::RetriableArchiveError, + NSequoiaClient::SequoiaRetriableError, Canceled, }) { if (allCodes.contains(code)) { |