Skip to content

tonic-xds: ignore status::Ok in the retriable code list#2585

Merged
LucioFranco merged 4 commits intohyperium:masterfrom
gu0keno0:no-retry-ok
Apr 9, 2026
Merged

tonic-xds: ignore status::Ok in the retriable code list#2585
LucioFranco merged 4 commits intohyperium:masterfrom
gu0keno0:no-retry-ok

Conversation

@gu0keno0
Copy link
Copy Markdown
Collaborator

@gu0keno0 gu0keno0 commented Apr 8, 2026

Small fix for xds retry: ignore ok status code all the time.

Motivation

In case "Ok" is misconfigured in the xDS config, the retry layer will not attempt retries on the successful calls.

Solution

Fix the condition in is_retryable_grpc_status_code()

@gu0keno0 gu0keno0 requested review from YutaoMa and ankurmittal April 8, 2026 13:41
Copy link
Copy Markdown

@madhurishgupta madhurishgupta left a comment

Choose a reason for hiding this comment

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

🚢

@LucioFranco LucioFranco merged commit 7004478 into hyperium:master Apr 9, 2026
21 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.

4 participants