We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62f2066 commit 5bf080fCopy full SHA for 5bf080f
yt/cpp/mapreduce/common/retry_lib.cpp
@@ -203,13 +203,9 @@ static bool IsRetriableChunkError(const TSet<int>& codes)
203
204
static TMaybe<TDuration> TryGetBackoffDuration(const TErrorResponse& errorResponse, const TConfigPtr& config)
205
{
206
- int httpCode = errorResponse.GetHttpCode();
207
- if (httpCode / 100 != 4 && !errorResponse.IsFromTrailers()) {
208
- return config->RetryInterval;
209
- }
210
-
211
auto allCodes = errorResponse.GetError().GetAllErrorCodes();
212
using namespace NClusterErrorCodes;
+
213
if (allCodes.count(NSecurityClient::RequestQueueSizeLimitExceeded) ||
214
allCodes.count(NRpc::RequestQueueSizeLimitExceeded))
215
0 commit comments