Skip to content

fix: missing 5xx error body when retry exhausted#618

Merged
crepererum merged 2 commits into
apache:mainfrom
jackye1995:retry-message
Mar 19, 2026
Merged

fix: missing 5xx error body when retry exhausted#618
crepererum merged 2 commits into
apache:mainfrom
jackye1995:retry-message

Conversation

@jackye1995

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Closes #617

Rationale for this change

Currently we only capture the error body after retry exhausted for client 4xx error. This makes it unclear about the exact S3 error message when the error is a server 5xx error.

What changes are included in this PR?

Make sure we always capture the error response body after retry exhausted.

Are there any user-facing changes?

No user facing or breaking changes

@LuQQiu LuQQiu left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Except the CIs

@crepererum

Copy link
Copy Markdown
Contributor

CI got fixed in the meantime, can you please rebase?

@alamb

alamb commented Mar 12, 2026

Copy link
Copy Markdown
Contributor

Hi @jackye1995 -- we are preparing for another object store release next week and would like to include this PR. I merged up from main to try and get a clean CI run

@crepererum crepererum left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good now, thanks @jackye1995 for the implementation and @alamb for the rebase

@crepererum crepererum merged commit d22f7f9 into apache:main Mar 19, 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.

Error body missing for 5xx errors after retry exhausted

4 participants