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

[0.12] cherry-picks 0.12.4 #4452

Merged
merged 4 commits into from
Nov 29, 2023
Merged

Conversation

tonistiigi and others added 4 commits November 29, 2023 21:22
Signed-off-by: Tonis Tiigi <[email protected]>
(cherry picked from commit e99bfa9)
Signed-off-by: Tonis Tiigi <[email protected]>
(cherry picked from commit 7f8eedc)
The events for currently active builds were sent through
pubsub channel instead of directly to the current request,
like it was done for completed builds for example.

This meant that if there are more active builds running
than the pubsub channel buffer (32) the sends will block.
Because the history API mutex is held in this process it
will eventually block the requests for builds that try to
update their history records.

Signed-off-by: Tonis Tiigi <[email protected]>
(cherry picked from commit 1ed9931)
When a record is marked for deletion the event is set to nil
but we don't check if it's nil when sending events which could
cause a panic.

Signed-off-by: CrazyMax <[email protected]>
(cherry picked from commit 9d39af0)
@crazy-max crazy-max requested a review from tonistiigi November 29, 2023 20:29
@tonistiigi tonistiigi merged commit 833949d into moby:v0.12 Nov 29, 2023
54 checks passed
@crazy-max crazy-max deleted the v0.12.4_cherry-picks branch November 30, 2023 08:50
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