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 #5023 race condition bug in wf engine #5029

Merged
merged 6 commits into from
Jul 10, 2019
Merged

Fix #5023 race condition bug in wf engine #5029

merged 6 commits into from
Jul 10, 2019

Conversation

gschueler
Copy link
Member

Is this a bugfix, or an enhancement? Please describe.

Fixes #5023

Describe the solution you've implemented

prevent race condition around checking if no more changes to wf engine state are available

if operation completes after getAvailableChanges,
the inProcess set might be empty, even tho stateChangeQueue is not.

* verify stateChangeQueue is empty also
@gschueler gschueler added this to the 3.1.0-RC2 milestone Jul 3, 2019
Copy link
Contributor

@sjrd218 sjrd218 left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@gschueler gschueler merged commit 56d6730 into master Jul 10, 2019
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.

Workflow truncated or steps skipped
2 participants