Skip to content

Do the entire deploy history persist under the request lock - #1910

Merged
ssalinas merged 3 commits into
masterfrom
deploy_persister_lock
Mar 22, 2019
Merged

ssalinas merged 3 commits into
masterfrom
deploy_persister_lock

Conversation

@ssalinas

Copy link
Copy Markdown
Contributor

We were grabbing the Map<String, SingularityRequestDeployState> before grabbing the request lock. So if the deploy checker ran at the right time right before this poller, the deploy state would be out of date. This changes the poller to loop over requests, holding the request lock for each during teh entire persist process

@ssalinas ssalinas added the hs_qa label Mar 13, 2019
@pschoenfelder

Copy link
Copy Markdown
Contributor

🚢

@ssalinas ssalinas added this to the 0.23.0 milestone Mar 22, 2019
@ssalinas
ssalinas merged commit e5bd1f3 into master Mar 22, 2019
@ssalinas
ssalinas deleted the deploy_persister_lock branch March 22, 2019 14:15
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.

2 participants