Skip to content

Prevent goroutine hangs during ProgressTracker shutdown - #12331

Merged
fuweid merged 1 commit into
containerd:mainfrom
henry118:fix-progress
Sep 26, 2025
Merged

fuweid merged 1 commit into
containerd:mainfrom
henry118:fix-progress

Conversation

@henry118

Copy link
Copy Markdown
Member

This PR prevents goroutine hangs during ProgressTracker shutdown.

I noticed the image pull occasionally hangs on progress updates because ProgressTracker.HandleProgress could return early (due to canceled context).

This can be reproduced by repeatedly performing image pulls using ctr and kill the operation in the middle. Eventually the process hangs.

@github-project-automation github-project-automation Bot moved this from Needs Triage to Review In Progress in Pull Request Review Sep 26, 2025
@fuweid
fuweid added this pull request to the merge queue Sep 26, 2025
Merged via the queue into containerd:main with commit 1e84794 Sep 26, 2025
@github-project-automation github-project-automation Bot moved this from Review In Progress to Done in Pull Request Review Sep 26, 2025
@henry118
henry118 deleted the fix-progress branch September 26, 2025 20:45
@chrishenzie chrishenzie added the cherry-picked/2.1.x PR commits are cherry picked into the release/2.1 branch label Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/distribution Image Distribution cherry-picked/2.1.x PR commits are cherry picked into the release/2.1 branch kind/bug size/S

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants