Skip to content

Commit

Permalink
Merge pull request #17111 from vbotbuildovich/backport-pr-17101-v23.3…
Browse files Browse the repository at this point in the history
….x-480

[v23.3.x] cloud_storage_clients: classify request_timeout as retriable
  • Loading branch information
piyushredpanda committed Mar 15, 2024
2 parents 9bef072 + 23b5a4e commit 25f1bd3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/v/cloud_storage_clients/s3_client.cc
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,8 @@ ss::future<result<T, error_outcome>> s3_client::send_request(
outcome = error_outcome::fail;
} else if (
err.code() == s3_error_code::slow_down
|| err.code() == s3_error_code::internal_error) {
|| err.code() == s3_error_code::internal_error
|| err.code() == s3_error_code::request_timeout) {
// This can happen when we're dealing with high request rate to
// the manifest's prefix. Backoff algorithm should be applied.
// In principle only slow_down should occur, but in practice
Expand Down

0 comments on commit 25f1bd3

Please sign in to comment.