Skip to content

Fix streaming manager deadlock on collection#8188

Merged
AkihiroSuda merged 1 commit intocontainerd:mainfrom
dmcgowan:fix-streaming-gc-deadlock
Mar 2, 2023
Merged

Fix streaming manager deadlock on collection#8188
AkihiroSuda merged 1 commit intocontainerd:mainfrom
dmcgowan:fix-streaming-gc-deadlock

Conversation

@dmcgowan
Copy link
Member

@dmcgowan dmcgowan commented Mar 1, 2023

Ensure that lock is released and stream is closed.

The call to ms.Close() causes the deadlock since it attempts to acquire a lock the collection already has, it should only be calling Close on the stream.

Ensure that lock is released and stream is closed.

Signed-off-by: Derek McGowan <[email protected]>
@dmcgowan dmcgowan added this to the 1.7 milestone Mar 1, 2023
@dmcgowan dmcgowan mentioned this pull request Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants