-
Notifications
You must be signed in to change notification settings - Fork 21
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
issue 329: RafReplDev Metrics and Restart Leader Test #337
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.
LG!
|
||
this->wait_for_all_writes(exp_entries); | ||
|
||
if (g_helper->replica_num() != 0) { std::this_thread::sleep_for(std::chrono::seconds{10}); } |
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.
this line is harmless and actually should not be needed since we have sync_for_verify_start() which will wait for all replicas to reach into the same state. It was here originally when I was debugging why some replica couldn't finish the I/O and after I root caused it I forget to remove this line.
I will remove it in my other PR if no other comments need to be addressed.
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #337 +/- ##
==========================================
- Coverage 49.99% 47.67% -2.32%
==========================================
Files 134 107 -27
Lines 14286 9357 -4929
Branches 1725 1212 -513
==========================================
- Hits 7142 4461 -2681
+ Misses 6503 4419 -2084
+ Partials 641 477 -164 ☔ View full report in Codecov by Sentry. |
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.
LG!
Testing: