diff options
author | hiddenpath <hiddenpath@yandex-team.com> | 2025-04-21 21:54:49 +0300 |
---|---|---|
committer | hiddenpath <hiddenpath@yandex-team.com> | 2025-04-21 22:30:16 +0300 |
commit | 8457aaabdc898a94c139391e8262afa51810b185 (patch) | |
tree | 7367f687e5589024a3119b538059628e50f8bbf9 | |
parent | 108c1aa409626aa29ca728edafd01fbbd7a1b00e (diff) | |
download | ydb-8457aaabdc898a94c139391e8262afa51810b185.tar.gz |
YT-24322: Retry cannot read from socket input stream error
commit_hash:bdfb86ce1915fd5c298250f4973acf6343a3e226
-rw-r--r-- | yt/cpp/mapreduce/common/retry_lib.cpp | 1 | ||||
-rw-r--r-- | yt/cpp/mapreduce/http/http.cpp | 2 |
2 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 e898bfc3814..e352bd144be 100644 --- a/yt/cpp/mapreduce/common/retry_lib.cpp +++ b/yt/cpp/mapreduce/common/retry_lib.cpp @@ -222,6 +222,7 @@ static TMaybe<TDuration> TryGetBackoffDuration(const TErrorResponse& errorRespon } for (auto code : { NRpc::TransportError, + NBus::TransportError, NRpc::Unavailable, NApi::RetriableArchiveError, NSequoiaClient::SequoiaRetriableError, diff --git a/yt/cpp/mapreduce/http/http.cpp b/yt/cpp/mapreduce/http/http.cpp index 4c360919267..d4f6a07303e 100644 --- a/yt/cpp/mapreduce/http/http.cpp +++ b/yt/cpp/mapreduce/http/http.cpp @@ -49,7 +49,7 @@ std::exception_ptr WrapSystemError( } auto message = NYT::Format("Request %qv to %qv failed", context.RequestId, context.HostName + context.Method); - TYtError outer(1, message, {TYtError(NClusterErrorCodes::Generic, ex.what())}, { + TYtError outer(NClusterErrorCodes::NBus::TransportError, message, {TYtError(NClusterErrorCodes::Generic, ex.what())}, { {"request_id", context.RequestId}, {"host", context.HostName}, {"method", context.Method}, |