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 a lb rule race in loadbalancer #1223

Merged
merged 1 commit into from Jun 8, 2016
Merged

Fix a lb rule race in loadbalancer #1223

merged 1 commit into from Jun 8, 2016

Conversation

mrjana
Copy link
Contributor

@mrjana mrjana commented Jun 8, 2016

When a goroutine which is adding the service and another which is adding
just a destination interleave the destination which is dependent on the
service may not get added and will result in service working at reduced
scale. The fix is to synchronize this with the service mutex.

Signed-off-by: Jana Radhakrishnan mrjana@docker.com

When a goroutine which is adding the service and another which is adding
just a destination interleave the destination which is dependent on the
service may not get added and will result in service working at reduced
scale. The fix is to synchronize this with the service mutex.

Signed-off-by: Jana Radhakrishnan <mrjana@docker.com>
@mavenugo
Copy link
Contributor

mavenugo commented Jun 8, 2016

LGTM

@mavenugo mavenugo merged commit 7f040eb into moby:master Jun 8, 2016
@chenchun
Copy link
Contributor

chenchun commented Jun 8, 2016

Looking through all these PRs about service & LB & Agent. I feel a little hard to understand whats going on. Is there some global design docs that could be shared before getting started like #767 when we start to introduce DNS support? Thanks.

@mrjana
Copy link
Contributor Author

mrjana commented Jun 8, 2016

@chenchun Please take a look at moby/moby#23361 and moby/moby#23362 for more background.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants