-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Fix SDN exponential backoff timeouts #17739
Fix SDN exponential backoff timeouts #17739
Conversation
- First iteration of wait.ExponentialBackoff() will not wait, so the times will be: 0, a, a * r, a * r^2, ... a * r^n-2 [a: duration, r: factor, n: steps] Total = a * (r^(n-1) - 1)/(r-1))
- subnets.go handles subnet related operations and it seems logical to keep getLocalSubnet() in this file.
@openshift/networking PTAL |
/retest |
/test cmd |
/lgtm |
/retest Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
/retest Please review the full test history for this PR and help us cut down flakes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: danwinship, pravisankar, rajatchopra The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
/retest Please review the full test history for this PR and help us cut down flakes. |
2 similar comments
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
Automatic merge from submit-queue. |
First iteration of wait.ExponentialBackoff() will not wait, so
the times will be:
0, a, a * r, a * r^2, ... a * r^n-2 [a: duration, r: factor, n: steps]
Total = a * (r^(n-1) - 1)/(r-1))
Moved getLocalSubnet() from node/sdn_controller.go to node/subnets.go