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

Use better retry logic in reclaimresources workflow #2689

Conversation

alexshtin
Copy link
Member

@alexshtin alexshtin commented Mar 31, 2022

What changed?
Use better retry logic in reclaimresources workflow.

Why?
When advanced visibility is enabled, EnsureNoExecutionActivity uses better retry logic now. Instead of just retrying for some period of time, it monitors progress of task processing. If progress is made then it keeps waiting. In case if no progress is made activity returns non-retryable error and workflow tries to delete executions again.

Standard visibility just retries for 30 minutes making approximately 20 attempts.

How did you test it?
Modified unit tests and local run.

Potential risks
No risks.

Is hotfix candidate?
No.

@alexshtin alexshtin requested a review from a team as a code owner March 31, 2022 05:09
@alexshtin alexshtin merged commit ddf8abe into temporalio:master Apr 20, 2022
@alexshtin alexshtin deleted the feature/reclaim-resources-advanced-visibility branch April 20, 2022 17:15
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.

None yet

2 participants