Skip to content

progress: fix race on pausing progress on debug shell#3003

Merged
crazy-max merged 1 commit intodocker:masterfrom
tonistiigi:debug-progress-fix
Feb 18, 2025
Merged

progress: fix race on pausing progress on debug shell#3003
crazy-max merged 1 commit intodocker:masterfrom
tonistiigi:debug-progress-fix

Conversation

@tonistiigi
Copy link
Copy Markdown
Member

Current progress writer has a logic of pausing/unpausing the printer and internally recreating internal channels.

This conflicts with a change that added sync.Once to Wait to allow it being called multiple times without erroring.

In debug shell this could mean that new progress printer showed up in debug shell because it was not closed.

cc097db

Current progress writer has a logic of pausing/unpausing
the printer and internally recreating internal channels.

This conflicts with a change that added sync.Once to Wait
to allow it being called multiple times without erroring.

In debug shell this could mean that new progress printer
showed up in debug shell because it was not closed.

Signed-off-by: Tonis Tiigi <[email protected]>
@tonistiigi tonistiigi requested a review from crazy-max February 18, 2025 05:05
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.

2 participants