Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retry RESOURCE_EXHAUSTED only if the server can recover #2480

Merged
merged 5 commits into from
Apr 13, 2022

Conversation

svrakitin
Copy link
Contributor

Recommend clients to retry on RESOURCE_EXHAUSTED only if the server can recover. The server can indicate this by signaling backpressure (by including RetryInfo into response).

See: open-telemetry/opentelemetry-collector#5147 (comment)

I might need help with exact wording here to stay consistent with the rest of the spec.

@svrakitin
Copy link
Contributor Author

cc @tigrannajaryan

Copy link
Member

@tigrannajaryan tigrannajaryan left a comment

Choose a reason for hiding this comment

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

This also needs a CHANGELOG enty.
I believe this is an allowed change since it can be considered a specification bug that it did not take into account the RESOURCE_EXHAUSTED can have more than one meaning and needs a more detailed description in the spec.

@tigrannajaryan
Copy link
Member

@svrakitin please resolve the conflicts.

@reyang reyang merged commit 2c7544e into open-telemetry:main Apr 13, 2022
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.

None yet

6 participants