diff options
| author | hiddenpath <[email protected]> | 2025-02-17 10:07:07 +0300 |
|---|---|---|
| committer | hiddenpath <[email protected]> | 2025-02-17 10:32:13 +0300 |
| commit | 9295facf69eb8c6ee7bbb5bdfd55aac74c850432 (patch) | |
| tree | 5d06860b576b3fe45467ba669a7dd0f7e68f5128 /yt/cpp/mapreduce/interface/errors.cpp | |
| parent | 8c9859fab05712911b835114e4a6c8ad57a36834 (diff) | |
YT-23616: Do not rely on specific http codes upon request retry
commit_hash:6567d772f1cc5091a75ad5249c2a97a73dc5e6cd
Diffstat (limited to 'yt/cpp/mapreduce/interface/errors.cpp')
| -rw-r--r-- | yt/cpp/mapreduce/interface/errors.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt/cpp/mapreduce/interface/errors.cpp b/yt/cpp/mapreduce/interface/errors.cpp index 42c7466dcb5..40a2d5234c0 100644 --- a/yt/cpp/mapreduce/interface/errors.cpp +++ b/yt/cpp/mapreduce/interface/errors.cpp @@ -332,7 +332,7 @@ bool TErrorResponse::IsFromTrailers() const bool TErrorResponse::IsTransportError() const { - return HttpCode_ == 503; + return Error_.ContainsErrorCode(NClusterErrorCodes::NBus::TransportError); } TString TErrorResponse::GetRequestId() const |
