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

task delete: Closes task IO before waiting #5974

Merged
merged 1 commit into from
Sep 15, 2021

Commits on Sep 7, 2021

  1. task delete: Closes task IO before waiting

    After containerd restarts, it will try to recover its sandboxes,
    containers, and images. If it detects a task in the Created or
    Stopped state, it will be removed. This will cause the containerd
    process it hang on Windows on the t.io.Wait() call.
    
    Calling t.io.Close() beforehand will solve this issue.
    
    Additionally, the same issue occurs when trying to stopp a sandbox
    after containerd restarts. This will solve that case as well.
    
    Signed-off-by: Claudiu Belu <cbelu@cloudbasesolutions.com>
    claudiubelu committed Sep 7, 2021
    Configuration menu
    Copy the full SHA
    55faa5e View commit details
    Browse the repository at this point in the history