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

Backoff failed workflow task #2548

Merged
merged 3 commits into from
Feb 25, 2022
Merged

Conversation

yiminc
Copy link
Member

@yiminc yiminc commented Feb 25, 2022

What changed?
This fixed a regression introduced in 1.15 by PR #2335

Why?
PR #2335 fixed an unnecessary delay after a failed workflow task, but it introduce a serious regression that when workflow task keeps failing, it would fall into a tight loop of retrying.
The fix to the regression is simple, to drop workflow task if it is continuously failing and let it timeout.

How did you test it?
Added integration test to cover invalid command attributes case.

Potential risks
No

Is hotfix candidate?
Yes.

@yiminc yiminc requested a review from a team as a code owner February 25, 2022 20:06
@yiminc yiminc enabled auto-merge (squash) February 25, 2022 20:40
@yiminc yiminc merged commit 87a48bb into temporalio:master Feb 25, 2022
yiminc added a commit that referenced this pull request Feb 25, 2022
* Backoff failed workflow task
yux0 pushed a commit that referenced this pull request Feb 25, 2022
* Backoff failed workflow task
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