Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

race condition in haproxy reload #5657

Merged
merged 1 commit into from
Jul 28, 2014

Conversation

bparees
Copy link
Contributor

@bparees bparees commented Jul 24, 2014

No description provided.

@bparees
Copy link
Contributor Author

bparees commented Jul 24, 2014

@a13m review please

@a13m
Copy link
Contributor

a13m commented Jul 25, 2014

@bparees I think this is almost right. I would remove the lock before wait_to_start. Doing it after introduces another race condition, where the configuration may be changed after haproxy is executed, and the second reload won't happen. Was there a good reason to have wait_to_start in the locked section?

@a13m
Copy link
Contributor

a13m commented Jul 25, 2014

looks good to me. thanks.

@bparees
Copy link
Contributor Author

bparees commented Jul 25, 2014

[test][extended:cartridge]

@openshift-bot
Copy link

@openshift-bot
Copy link

Origin Test Results: FAILURE (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests/2693/)

@openshift-bot
Copy link

Evaluated for origin up to e1f1042

@bparees
Copy link
Contributor Author

bparees commented Jul 25, 2014

[merge]

@openshift-bot
Copy link

Online Merge Results: SUCCESS (https://ci.dev.openshift.redhat.com/jenkins/job/merge_pull_requests/5735/) (Image: devenv_5013)

@openshift-bot
Copy link

Evaluated for online up to e1f1042

openshift-bot pushed a commit that referenced this pull request Jul 28, 2014
@openshift-bot openshift-bot merged commit 6ab36ec into openshift:master Jul 28, 2014
@bparees bparees deleted the haproxy_race branch July 29, 2014 15:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants