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

[fork/release/1.4] Fix pull fails on unexpected EOF #32

Merged
merged 1 commit into from
Jan 3, 2022
Merged

[fork/release/1.4] Fix pull fails on unexpected EOF #32

merged 1 commit into from
Jan 3, 2022

Conversation

anmaxvl
Copy link
Collaborator

@anmaxvl anmaxvl commented Jan 3, 2022

Currently, containerd doesn't restart pull when it encounters unexpected EOF of
blob strem withtout error codes.
There are cases where this lead to pull failure.
This commit tries to fix this issue.

Signed-off-by: Kohei Tokunaga ktokunaga.mail@gmail.com
(cherry picked from commit 7bc5aa7)

Currently, containerd doesn't restart pull when it encounters unexpected EOF of
blob strem withtout error codes.
There are cases where this lead to pull failure.
This commit tries to fix this issue.

Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
(cherry picked from commit 7bc5aa7)
Copy link
Collaborator

@katiewasnothere katiewasnothere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Does this need to go in the other release branches too?

@kevpar kevpar changed the title Fix pull fails on unexpected EOF [fork/release/1.4] Fix pull fails on unexpected EOF Jan 3, 2022
@kevpar
Copy link
Owner

kevpar commented Jan 3, 2022

LGTM. Does this need to go in the other release branches too?

Presumably it was already backported to 1.5 in upstream. It would be good to know for sure though.

@dcantah
Copy link
Collaborator

dcantah commented Jan 3, 2022

@kevpar Yep containerd#6117

@anmaxvl anmaxvl merged commit 7c15b65 into kevpar:fork/release/1.4 Jan 3, 2022
@anmaxvl anmaxvl deleted the cherry-pick-fix-fail-precondition branch January 3, 2022 23:26
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.

5 participants