-
Notifications
You must be signed in to change notification settings - Fork 5
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
Pause on all nodes during join #46
Conversation
…ter_unpause testcase
Add send_check_servers_is_called_before_last_server_got_dump case Delay check_server call
Pause from all nodes during the join To avoid unpausing some nodes when they loose connection with the coordinator (but coordinator is still alive)
Aggressive pausing would ensure that check_server is only sent after cets_join sent all the send_dump messages
Reformat update_node_down_history
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #46 +/- ##
==========================================
+ Coverage 98.26% 98.32% +0.06%
==========================================
Files 10 10
Lines 750 778 +28
==========================================
+ Hits 737 765 +28
Misses 13 13 ☔ View full report in Codecov by Sentry. |
bf92967
to
af69df8
Compare
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.
I reviewed what I could understand. The test suite becomes huge and I have no idea how you don't get lost in the test cases - I did. I still don't get the cause of the original issue though, so I really can't evaluate the fix.
After a discussion with @arcusfelis I understand the current solution, and it seems good enough for now. We just need to address the remaining comments. |
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.
Looks good 👍
To avoid race conditions we have to pause on all nodes.
The issue:
I've tried to show the errors in tests.
Solution:
Adresses MIM-2137