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

CGW: Fix deadlock occuring in msg queue #55

Merged
merged 1 commit into from
Jun 28, 2024
Merged

CGW: Fix deadlock occuring in msg queue #55

merged 1 commit into from
Jun 28, 2024

Conversation

Cahb
Copy link
Contributor

@Cahb Cahb commented Jun 28, 2024

Double-read-lock acquisition forced a deadlock in some stressfull specific scenarios, where the same lock get's aquired for later on.

Isolate required locks in their own contextes, as well as make sure we alter msg queue only ACK is received from conn_server;

Also remove some nasty logs (cache+topo map), as well as misleading print

Double-read-lock acquisition forced a deadlock in some
stressfull specific scenarios, where the same lock
get's aquired for <write> later on.

Isolate required <read> locks in their own contextes,
as well as make sure we alter msg queue only <after>
ACK is received from conn_server;

Also remove some nasty logs (cache+topo map), as well
as misleading <Started wss server> print

Signed-off-by: Oleksandr Mazur <[email protected]>
@Cahb Cahb merged commit 16e63e9 into next Jun 28, 2024
2 checks passed
@Cahb Cahb deleted the fix/fix_deadlock branch June 28, 2024 14:52
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.

1 participant