You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Issues related to missing layer (likely caused by https://github.com/containerd/containerd/issues/8973 ) #3425
do you think this should be a blocker for containerd v2 release? Or otherwise any chance to get eyeballs on it?
or should we try harder to work around it here (not sure this is even feasible honestly)?
The suggestion over there ("Changing the default pull behavior should be up to the client") is a bit asinine TBH, as it would have wide ranging impact on performance...
Since this is a general problem across our codebase (and not just on commit), we need a strategy to address this.
It seems like once the image has been tagged, it is too late? (eg: can't fetch anymore) - so, we might need to enforce fetch:
Activity
apostasie commentedon Sep 10, 2024
Tagging @lingdie who likely has a good understanding of whats going on.
apostasie commentedon Sep 10, 2024
@AkihiroSuda while this is still murky, I feel this is bad enough given the number of issues.
Do you think this could be added to the v2 milestone?
apostasie commentedon Sep 18, 2024
@AkihiroSuda containerd/containerd#8973 is stale, despite pings.
What is your opinion?
The suggestion over there ("Changing the default pull behavior should be up to the client") is a bit asinine TBH, as it would have wide ranging impact on performance...
apostasie commentedon Sep 18, 2024
@lingdie your patch was definitely going in the right direction, but I guess if the layers are missing, it will not be enough?
What if we check if there are missing layers, then force a fetch?
Something in the line of:
Since this is a general problem across our codebase (and not just on commit), we need a strategy to address this.
It seems like once the image has been tagged, it is too late? (eg: can't fetch anymore) - so, we might need to enforce fetch:
wdyt?
apostasie commentedon Sep 18, 2024
Here is a repro involving tagging:
This will fail when we try to convert to a temp single platform image (because we tagged an image with missing layers).
AkihiroSuda commentedon Sep 18, 2024
I'd prefer to limit the blockers to:
apostasie commentedon Sep 18, 2024
Fair enough.
I might have a workable fix in the linked PR.
Ensure all layers are here when committing
Ensure all layers are here when committing
Ensure all layers are here when committing
Add regression tests for containerd#3425
Add regression tests for containerd#3425
Add regression tests for containerd#3425
Add regression tests for containerd#3425
Fix tests and add regression tests for containerd#3425
ningmingxiao commentedon Jun 20, 2025
I find a reason sometimes containerd will skip to save some blobs. @AkihiroSuda @apostasie
ref : containerd/containerd#11996