Skip to content

Avoid k/v store endpoint update in swarm mode#1410

Merged
sanimej merged 1 commit intomoby:masterfrom
mrjana:agent
Aug 23, 2016
Merged

Avoid k/v store endpoint update in swarm mode#1410
sanimej merged 1 commit intomoby:masterfrom
mrjana:agent

Conversation

@mrjana
Copy link
Copy Markdown
Contributor

@mrjana mrjana commented Aug 23, 2016

Avoid the whole store endpoint update logic when running in swarm mode
and the endpoint is part of a global scope network. Currently there is
no store update that is happening for global scope networks in swarm
mode, but this code path will delete the svcRecords database when the
last endpoint on the network is removed which is something that is not
required.

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

Avoid the whole store endpoint update logic when running in swarm mode
and the endpoint is part of a global scope network. Currently there is
no store update that is happening for global scope networks in swarm
mode, but this code path will delete the svcRecords database when the
last endpoint on the network is removed which is something that is not
required.

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

sanimej commented Aug 23, 2016

LGTM

@sanimej sanimej merged commit 1fd2131 into moby:master Aug 23, 2016
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.

3 participants