-
Notifications
You must be signed in to change notification settings - Fork 770
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
[19702] Fix Data Race when updating liveliness changed in WLP #3926
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's see what TSan says about this. I remember this part of the code was subject to deadlocks in the past.
Besides that, see my suggestion below.
1a60361
to
b558087
Compare
|
@richiprosima Please test this |
Update & findings:
Hint: Increasing the |
Signed-off-by: Mario Dominguez <[email protected]>
Signed-off-by: Mario Dominguez <[email protected]>
b558087
to
6c02a2b
Compare
@richiprosima please test this |
@richiprosima please test mac |
Regarding the linux failed tests. In local, compiled with TSAN, those same tests failures occur 1 every 30 attempts approx. TSAN does not output any warnings, the tests fail in the assert |
@Mergifyio backport 2.11.x 2.10.x 2.6.x |
✅ Backports have been created
|
* Refs #19702: Fix Data Race in WLP Signed-off-by: Mario Dominguez <[email protected]> * Refs #19702: reviewer suggestion Signed-off-by: Mario Dominguez <[email protected]> --------- Signed-off-by: Mario Dominguez <[email protected]> (cherry picked from commit 8126a51)
* Refs #19702: Fix Data Race in WLP Signed-off-by: Mario Dominguez <[email protected]> * Refs #19702: reviewer suggestion Signed-off-by: Mario Dominguez <[email protected]> --------- Signed-off-by: Mario Dominguez <[email protected]> (cherry picked from commit 8126a51)
* Refs #19702: Fix Data Race in WLP Signed-off-by: Mario Dominguez <[email protected]> * Refs #19702: reviewer suggestion Signed-off-by: Mario Dominguez <[email protected]> --------- Signed-off-by: Mario Dominguez <[email protected]> (cherry picked from commit 8126a51)
* Refs #19702: Fix Data Race in WLP Signed-off-by: Mario Dominguez <[email protected]> * Refs #19702: reviewer suggestion Signed-off-by: Mario Dominguez <[email protected]> --------- Signed-off-by: Mario Dominguez <[email protected]> (cherry picked from commit 8126a51) Co-authored-by: Mario Domínguez López <[email protected]>
* Refs #19702: Fix Data Race in WLP Signed-off-by: Mario Dominguez <[email protected]> * Refs #19702: reviewer suggestion Signed-off-by: Mario Dominguez <[email protected]> --------- Signed-off-by: Mario Dominguez <[email protected]> (cherry picked from commit 8126a51) Co-authored-by: Mario Domínguez López <[email protected]>
* Refs #19702: Fix Data Race in WLP Signed-off-by: Mario Dominguez <[email protected]> * Refs #19702: reviewer suggestion Signed-off-by: Mario Dominguez <[email protected]> --------- Signed-off-by: Mario Dominguez <[email protected]> (cherry picked from commit 8126a51) Co-authored-by: Mario Domínguez López <[email protected]>
Description
This PR fixes a data race in
WLP::update_liveliness_changed_status()
and repairs theShort liveliness
Windows CI tests (see the manual job launch results here).The PR is not included with a test since the same test suite of the
ShortLivelinees
(in windows) serves to demonstrate the issue@Mergifyio backport 2.11.x 2.10.x 2.6.x
Contributor Checklist
-N/A Tests that thoroughly check the new feature have been added/Regression tests checking the bug and its fix have been added; the added tests pass locally
versions.md
file (if applicable).Reviewer Checklist