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

Don't check delete workflow execution transfer task version #3021

Merged

Conversation

alexshtin
Copy link
Member

@alexshtin alexshtin commented Jun 25, 2022

What changed?
Don't check delete workflow execution transfer task version.

Why?
DeleteExecutionTask transfer task is create when workflow is explicitly deleted with DeleteWorkflowExecution API call.
There is no need to check task version when processing this task because API request to delete executions is considered to be higher priority than other processes which might resurrect execution.

Also removed version from DeleteExecutionVisibilityTask because it is not used by processor.

How did you test it?
Existing tests.

Potential risks
No risks.

Is hotfix candidate?
Yes, for end to end namespace migration tests.

@alexshtin alexshtin requested a review from a team as a code owner June 25, 2022 05:52
@alexshtin alexshtin requested a review from wxing1292 June 25, 2022 05:54
Copy link
Contributor

@wxing1292 wxing1292 left a comment

Choose a reason for hiding this comment

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

plz add comments to modified tasks: why version check is not performed

@alexshtin alexshtin enabled auto-merge (squash) June 27, 2022 20:05
@alexshtin alexshtin merged commit 2d0071d into temporalio:master Jun 27, 2022
@alexshtin alexshtin deleted the feature/remove-delete-version-check branch June 27, 2022 21:21
yux0 added a commit to yux0/temporal that referenced this pull request Jul 27, 2022
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

3 participants