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

Properly dedup signal request ID #1558

Merged
merged 2 commits into from May 20, 2021
Merged

Conversation

wxing1292
Copy link
Contributor

What changed?

  • Dedup signal request ID before checking workflow mutability, in case workflow is signaled by finished

Why?
Business logic should check request ID for deduping purpose first.

How did you test it?
N/A

Potential risks
N/A

Is hotfix candidate?
No

* Dedup signal request ID before checking workflow mutability, in case workflow is signaled by finished
@wxing1292 wxing1292 requested a review from a team May 20, 2021 03:59
@wxing1292 wxing1292 enabled auto-merge (squash) May 20, 2021 04:03
Copy link
Contributor

@samarabbas samarabbas left a comment

Choose a reason for hiding this comment

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

Probably we should add a unit test for it.

@wxing1292 wxing1292 merged commit 959fb34 into temporalio:master May 20, 2021
@wxing1292 wxing1292 deleted the signal-dedup branch May 20, 2021 04:47
wxing1292 added a commit that referenced this pull request May 20, 2021
* Dedup signal request ID before checking workflow mutability, in case workflow is signaled by finished
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