Repository navigation
Conversation
|
Hi @skaegi. Thanks for your PR. I'm waiting for a containerd member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
I recognize this is on release/1.7 -- I can delete this PR and recreate a new one on main but was hoping for feedback. Another possibility here is to always do the content check and fetch before the sn.Stat check and then remove the later fetch. e.g. |
This patch... 1) creates doFetchFn from existing fetch logic. 2) After the sn.Stat check we also check cs.Info and if not found will call doFetchFn. 3) Existing fetch later in this function is unchanged but instead calls doFetchFn. Signed-off-by: Simon Kaegi [email protected]
|
Closing -- using #8878 instead as it is on main and easier to work with. |
This patch adds an additional check in the unpack logic to "always" fetch the content if not present. This handles a case that can lead to incomplete images (images that have the RootFs in the snapshot but have a different digest in their oci config) and prevent snapshotters other than the default from working.
In terms of code changes...
Fixes #8674
Signed-off-by: Simon Kaegi [email protected]