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

[v0.10.2] cherry-picks #2829

Merged
merged 3 commits into from
Apr 27, 2022
Merged

Conversation

tonistiigi
Copy link
Member

sipsma added 3 commits April 26, 2022 21:39
Before this, merge and diff refs were incorrectly not being marked as
committed, which meant that when cache was reloaded they would be marked
as mutable, which in turn lead to refs with them as an ancestor being
removed by the cache manager's init method. Additionally, if the merge/diff
ref was a parent, more inconsistent states could arise.

Signed-off-by: Erik Sipsma <[email protected]>
(cherry picked from commit 16699a4)
This fixes merge+diff refs from v0.10.{0,1} that weren't set as
committed.

Signed-off-by: Erik Sipsma <[email protected]>
(cherry picked from commit a493fab)
Before this, if a ref with multiple parents loaded some parents but then
failed, the already loaded parents would not be released and thus
leaked.

Signed-off-by: Erik Sipsma <[email protected]>
(cherry picked from commit 182d9df)
@AkihiroSuda AkihiroSuda merged commit 9d2c9b2 into moby:v0.10 Apr 27, 2022
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.

3 participants