-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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(executor): Remove IsTransientErr check for ExponentialBackoff. Fixes #4144 #4149
Conversation
I am wondering shall we tweak this config
e.g. to make factor > 1.0 ? otherwise the retry will have the same timeout ? |
Re-running failed jobs. |
Good idea. Currently http://backoffcalculator.com/?attempts=8&rate=1
Maybe? http://backoffcalculator.com/?attempts=5&rate=2&interval=0.5
|
According to https://pkg.go.dev/k8s.io/apimachinery/pkg/util/wait#Backoff
It seems with |
I think your read is correct |
@alexec what about this config, it will retry 5 times, with maximum wait around 10s
|
I get a different plan? http://backoffcalculator.com/?attempts=5&interval=1&rate=1.6
|
I feel that UI page maybe not implement the same way as the go module ? |
I think you're correct, I just used anther one and got: http://exponentialbackoffcalculator.com/
Really!?!? That is also incorrect - even though the state the correct formula on the page. |
@nggao to move this PR forward, do the backoff part in another PR? |
@alexec Yeah make sense let's do it in another PR |
Can you sync with master to force a rebuild? |
adb010f
to
b329333
Compare
Done, did a rebase |
@alexec Do you know when this fix will be released, it seems not included in v2.11.5 ? |
I've cherry-picked to v2.11.6. |
@alexec thanks! |
argoproj#4144 (argoproj#4149) Signed-off-by: Alex Capras <alexcapras@gmail.com>
fix(executor): Remove IsTransientErr check for ExponentialBackoff #4144
Checklist:
"fix(controller): Updates such and such. Fixes #1234"
.