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

Fix race when parallel inquiries set the execution status #4369

Merged
merged 1 commit into from
Oct 2, 2018

Conversation

m4dcoder
Copy link
Contributor

@m4dcoder m4dcoder commented Oct 2, 2018

When a workflow is paused and there are multiple requests to resume the workflow, there is a race and one of the request fails because the workflow is already in an active state. Instead of erroring, log the situation and there is no need to resume since the workflow is already active.

@m4dcoder m4dcoder requested a review from Kami October 2, 2018 03:36
When a workflow is paused and there are multiple requests to resume the workflow, there is a race and one of the request fails because the workflow is already in an active state. Instead of erroring, log the situation and there is no need to resume since the workflow is already active.
@m4dcoder m4dcoder force-pushed the fix-inquiry-resume branch from facd9f6 to 8dec15a Compare October 2, 2018 03:54
Copy link
Contributor

@bigmstone bigmstone left a comment

Choose a reason for hiding this comment

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

💯

@m4dcoder m4dcoder merged commit 5377ebb into master Oct 2, 2018
@m4dcoder m4dcoder deleted the fix-inquiry-resume branch October 2, 2018 05:44
@Kami
Copy link
Member

Kami commented Oct 2, 2018

Good catch 👍

Will also cherry pick it into v2.9 branch for inclusion in v2.9.1.

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.

3 participants