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
c8d/pull: Progress fixes #47432
c8d/pull: Progress fixes #47432
Conversation
Sync access to the underlying `io.Writer` with a mutex. Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
To align with the graphdrivers behavior and don't send unnecessary progress messages. Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
What is the issue seen for this? Is |
The writer itself is not protected. I noticed that after I experienced random failures when adding that additional progress update. This happens because |
Failures are the expected ones (containerd snapshotter on Windows) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
- What I did
Pulling fs layer
(fixes issue in Docker Desktop)io.Writer
inprogressOutput
with a mutexDownloading
when no progress was made yet- How I did it
See commits.
- How to verify it
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)