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

Adjust retry policy before checking isBelowRetryLimit #1773

Closed
wants to merge 8 commits into from

Conversation

jguerra
Copy link
Contributor

@jguerra jguerra commented May 8, 2024

No description provided.

if ((isBelowRetryLimit()) && (isRetryable(err))) {
boolean retryable = isRetryable(err);
if (retryable) {
origin.adjustRetryPolicyIfNeeded(zuulRequest);
Copy link
Collaborator

@argha-c argha-c May 8, 2024

Choose a reason for hiding this comment

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

The adjustment itself is fine.
The issue here is currently this is going to throw off retries disabled metrics, regardless of whether or not the limit was reached. We need to split that part from the adjustment, as part of this change since it's inaccurate otherwise. (for internal usages not oss)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah good call out

@jguerra jguerra closed this May 9, 2024
@jguerra jguerra deleted the jg/move_adjustment branch June 13, 2024 21:35
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.

3 participants