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

[fast-client] Fixed retry budget freshness issue #1498

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

gaojieliu
Copy link
Contributor

This PR fixed a bug in RetryBudget, and previously, if the request volume becomes 0, the retry budget won't be refreshed any more even there are more traffic later on.

This PR also re-enables retry budget by default.

How was this PR tested?

CI

Does this PR introduce any user-facing changes?

  • No. You can skip the rest of this section.
  • Yes. Make sure to explain your proposed changes and call out the behavior change.

This PR fixed a bug in RetryBudget, and previously, if the request
volume becomes 0, the retry budget won't be refreshed any more even
there are more traffic later on.

This PR also re-enables retry budget by default.
Copy link
Contributor

@xunyin8 xunyin8 left a comment

Choose a reason for hiding this comment

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

Good catch Gaojie, so the new behavior is now if we encounter a period without KPS we will continue to use the retry budget calculated in the most recent period with KPS.

@gaojieliu gaojieliu merged commit 76abcdd into linkedin:main Feb 4, 2025
57 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.

2 participants