Skip to content

fix(aws): set retry_error_body on bulk_delete_request#733

Merged
tustvold merged 1 commit into
apache:mainfrom
rustyprimus:delete-objects-200-slowdown
May 27, 2026
Merged

fix(aws): set retry_error_body on bulk_delete_request#733
tustvold merged 1 commit into
apache:mainfrom
rustyprimus:delete-objects-200-slowdown

Conversation

@rustyprimus
Copy link
Copy Markdown
Contributor

Closes #277

AWS S3 can return HTTP 200 with a SlowDown or InternalError XML body for DeleteObjects requests. The retry logic already handles this via body_contains_error() when retry_error_body is set, and other requests (copy_part, complete_multipart) already use this flag. bulk_delete_request was missing it, causing throttling errors to surface instead of being retried.

AWS S3 can return HTTP 200 with a SlowDown or InternalError XML body
for DeleteObjects requests. The retry logic already handles this via
body_contains_error() when retry_error_body is set, and other requests
(copy_part, complete_multipart) already use this flag. bulk_delete_request
was missing it, causing throttling errors to surface instead of being retried.

Closes apache#277
@tustvold tustvold merged commit 46abab9 into apache:main May 27, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Object store failing during bulk delete in S3

2 participants