Improve test_raft_repl_dev UT
majar changes:
- fix device list
- when leader switches , new leader will continue to write in
write_on_leader. - logging improvement, print out ms/us for timestamp.
Other than UT
implement rollback for statemachine.
:warning: Please install the to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 0% with 7 lines in your changes missing coverage. Please review.
Project coverage is 68.16%. Comparing base (
1a0cef8) to head (aa77d71). Report is 55 commits behind head on master.
| Files with missing lines | Patch % | Lines |
|---|---|---|
| ...rc/lib/replication/repl_dev/raft_state_machine.cpp | 0.00% | 7 Missing :warning: |
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@ Coverage Diff @@
## master #464 +/- ##
===========================================
+ Coverage 56.51% 68.16% +11.64%
===========================================
Files 108 109 +1
Lines 10300 10438 +138
Branches 1402 1400 -2
===========================================
+ Hits 5821 7115 +1294
+ Misses 3894 2645 -1249
- Partials 585 678 +93
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
I believe this PR will be very helpful for raft_repl_dev UT. pls proceed and finish this PR, thanks
This PR has been idle for one month. Do we still want to merge this?
This PR has been idle for one month. Do we still want to merge this?
this PR is very helpful to make repl_dev unit test stable in github CI. after this , we can enable Leader_Restart which stucks intermittently.
@xiaoxichen pls go ahead and complete this PR when you get cycle.