Skip to content

Retain sandbox only if network is not available#732

Merged
mavenugo merged 1 commit intomoby:masterfrom
mrjana:bugs
Nov 3, 2015
Merged

Retain sandbox only if network is not available#732
mavenugo merged 1 commit intomoby:masterfrom
mrjana:bugs

Conversation

@mrjana
Copy link
Copy Markdown
Contributor

@mrjana mrjana commented Nov 3, 2015

It is sufficient to check only if network is available
in store to make the decision of whether to retain the
stale sandbox. If the endpoints are not available then
there is no point in retaining the sandbox anyways. This
fixes some extreme corner cases, where daemon goes down
right in the middle of sandbox cleanup happening.

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

It is sufficient to check only if network is available
in store to make the decision of whether to retain the
stale sandbox. If the endpoints are not available then
there is no point in retaining the sandbox anyways. This
fixes some extreme corner cases, where daemon goes down
right in the middle of sandbox cleanup happening.

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

mavenugo commented Nov 3, 2015

👍 LGTM

mavenugo added a commit that referenced this pull request Nov 3, 2015
Retain sandbox only if network is not available
@mavenugo mavenugo merged commit 5305ea5 into moby:master Nov 3, 2015
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