Skip to content

Update request for 'deploy to unpause' before saving pending deploy#1376

Merged
ssalinas merged 1 commit into
masterfrom
deploy_race_fix
Jan 23, 2017
Merged

Update request for 'deploy to unpause' before saving pending deploy#1376
ssalinas merged 1 commit into
masterfrom
deploy_race_fix

Conversation

@ssalinas

Copy link
Copy Markdown
Contributor

There is a race condition where the SingularityDeployChecker can grab the new pending deploy and fail it due to the request still being in the PAUSED state, before the DeployResource has time to update the state.

Not certain this is the best fix, definitely open to suggestions here.

@ssalinas ssalinas modified the milestone: 0.14.0 Dec 14, 2016
@ssalinas ssalinas changed the title Update request for deploy to unpause before saving pending deploy Update request for 'deploy to unpause' before saving pending deploy Dec 15, 2016
@ssalinas ssalinas merged commit 529c7a9 into master Jan 23, 2017
@ssalinas ssalinas deleted the deploy_race_fix branch January 23, 2017 15:00
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.

1 participant