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

Clear old parent reference on resetting image parent #20058

Merged
merged 1 commit into from
Feb 6, 2016

Conversation

tonistiigi
Copy link
Member

On migration 2 different images can end up with same
content addressable ID, meaning SetParent will be called
multiple times. Previous version did not clear the old
in-memory reference.

Signed-off-by: Tonis Tiigi tonistiigi@gmail.com

On migration 2 different images can end up with same
content addressable ID, meaning `SetParent` will be called
multiple times. Previous version did not clear the old
in-memory reference.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@tonistiigi tonistiigi added this to the 1.10.1 milestone Feb 6, 2016
@aaronlehmann
Copy link
Contributor

LGTM if tests pass

@runcom
Copy link
Member

runcom commented Feb 6, 2016

LGTM

runcom added a commit that referenced this pull request Feb 6, 2016
Clear old parent reference on resetting image parent
@runcom runcom merged commit 78f2b8d into moby:master Feb 6, 2016
tiborvass pushed a commit to tiborvass/docker that referenced this pull request Feb 10, 2016
On migration 2 different images can end up with same
content addressable ID, meaning `SetParent` will be called
multiple times. Previous version did not clear the old
in-memory reference.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit 4852932)

From PR moby#20058
@tiborvass tiborvass mentioned this pull request Feb 10, 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.

None yet

4 participants