-
Notifications
You must be signed in to change notification settings - Fork 26
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
Fix potential race condition #248
Conversation
…ream and another fiber calling a public member of server::ConnectionsManager::drop_all_streams
Note, this will pass CI, because CI is still skipping test_mrc_private.x. |
Note: a |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## branch-23.01 #248 +/- ##
================================================
- Coverage 46.00% 45.96% -0.04%
================================================
Files 335 335
Lines 9278 9288 +10
Branches 774 775 +1
================================================
+ Hits 4268 4269 +1
- Misses 5010 5019 +9
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@gpucibot merge |
Prior to this PR, there was a possible race condition that could be hit by two execution paths where,
Server::drop_stream
locks the server's state, butServer::m_connections
is not protected by that mutex.Relates to #247