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
save snapshot from gc when unpack image #1802
Conversation
Signed-off-by: yanxuean <yan.xuean@zte.com.cn>
There is a window before the content.Config refers the top snapshot where the snapshots created by image.Unpack() are GCed. Now it will be happened in cri-containerd, because we call Pull() without option WithPullUnpack first, and then call image.Unpack. |
Codecov Report
@@ Coverage Diff @@
## master #1802 +/- ##
=======================================
Coverage 49.35% 49.35%
=======================================
Files 77 77
Lines 7695 7695
=======================================
Hits 3798 3798
Misses 3253 3253
Partials 644 644
Continue to review full report at Codecov.
|
/assign @dmcgowan @crosbymichael |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@crosbymichael Seem like there are another problem yet. |
Signed-off-by: yanxuean yan.xuean@zte.com.cn