Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

mavenugo
Copy link
Contributor

@mavenugo mavenugo commented May 7, 2016

No description provided.

mavenugo added 2 commits May 7, 2016 07:36
During sandboxcleanup operation, a dummy object is created if the
kv-store is inaccessible during the daemon bootup. The dummy object is
used for local processing of sandbox/endpoint cleanup operation. But
unfortunately, since the persist flag was not set, the Skip()
functionality kicked-in when sandbox was written back to the store and
global endpoint was skipped to be tracked.  During a subsequent cleanup
operation, sandbox was removed and the global endpoint was left stale in
the kv-store.

The fix is to set the persist flag in the dummy object and that handles
the sandbox and endpoint states appropriately and endpoint object is
properly cleaned up when the KVStore becomes available.

Signed-off-by: Madhu Venugopal <[email protected]>
Signed-off-by: Madhu Venugopal <[email protected]>
@mavenugo mavenugo merged commit e9c9b56 into moby:release/v0.7 May 7, 2016
@mavenugo mavenugo deleted the rel_v0.7_rc8 branch July 5, 2016 18:24
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.

2 participants