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

Remove task version and visibility timestamp override #2789

Merged
merged 1 commit into from
Apr 29, 2022

Conversation

yycptt
Copy link
Member

@yycptt yycptt commented Apr 29, 2022

What changed?

  • Remove setTaskInfo which overrides task version and visibility timestamp for immediate tasks

Why?

  • All tasks, when created already specified the desired version and visibility timestamp, no need to override
  • The overriding version is always namespace current version which may not be the right version for the task. and may cause the task to be dropped.

How did you test it?

  • Tested in test cluster

Potential risks

Is hotfix candidate?

  • Maybe.

@yycptt yycptt requested review from yux0 and wxing1292 April 29, 2022 22:16
@yycptt yycptt marked this pull request as ready for review April 29, 2022 22:33
@yycptt yycptt requested a review from a team as a code owner April 29, 2022 22:33
@yycptt yycptt merged commit 723b7a5 into temporalio:master Apr 29, 2022
@yycptt yycptt deleted the remove-setTaskInfo branch April 29, 2022 23:38
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