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

Connectionmanager deadlock fix #497

Merged
merged 4 commits into from
Oct 12, 2019

Conversation

paddybyers
Copy link
Member

Related: #495 (comment)

This particular deadlock is a result of connection state change notifications being made whilst holding the connectiomanager lock. This PR ensures that all state changes are enacted in the CM thread without holding the lock; any transitions that previously occurred whilst in the process of making another transition are now effectively queued as further requested state changes, and dealt with the CM thread after having finished with the present transition.

@amsurana are you able please to re-test the intermittent connectivity scenario with this branch?

@mattheworiordan
Copy link
Member

@paddybyers what's the status on this?

…al crash on connection resulting from attempt to keep rest and realtime hosts aligned
@paddybyers paddybyers merged commit 3ea3953 into develop Oct 12, 2019
@paddybyers
Copy link
Member Author

what's the status on this?

It was stalled because I was looking at a regression, but it is now released.

@KacperKluka KacperKluka deleted the connectionmanager-deadlock-fix-1.1 branch March 25, 2022 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants