Repository navigation
fix raft_repl_dev UT - #756
Conversation
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #756 +/- ##
===========================================
+ Coverage 56.51% 66.68% +10.17%
===========================================
Files 108 110 +2
Lines 10300 13040 +2740
Branches 1402 1892 +490
===========================================
+ Hits 5821 8696 +2875
+ Misses 3894 3339 -555
- Partials 585 1005 +420 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
7264580 to
ff5219d
Compare
yuwmao
left a comment
There was a problem hiding this comment.
LGTM, thanks for the fix.
77a9741 to
61e0671
Compare
4d53f48 to
0d84836
Compare
0d84836 to
86829a4
Compare
|
@sanebay can you help review this? |
8692b3c to
5178ae1
Compare
b02b9da to
1d7c80f
Compare
|
|
||
| void RaftReplService::stop_reaper_thread() { | ||
| iomanager.run_on_wait(m_reaper_fiber, [] { iomanager.stop_io_loop(); }); | ||
| void RaftReplService::stop_repl_service_timers() { |
There was a problem hiding this comment.
we need make sure all the timers that may access repl_dev is stopped before we stop repl_dev, unless these timer might access a destroyed repl_dev and lead to crash
1d7c80f to
e70f9b2
Compare
0c77ce1 to
0efff18
Compare
200838c to
00d3c07
Compare
|
ssl test will hit a grpc/openssl issue, which will result in the sanitizer check failure。 fixed in this PR openssl/openssl@77e7a47 to fix this issue, we need to upgrade openssl to at least 3.4.0. will use a separate PR to upgrade openssl version and then enable this UT |
610ed7c to
d5f170c
Compare
d5f170c to
9c84cc1
Compare
| // for now , we only support append blk allocator for replication service | ||
| // TODO: let raft_repl_dev supports other blk allocator type after we support deserializing multiple | ||
| // multiblkid from log entry, see | ||
| // https://github.com/JacksonYao287/HomeStore/blob/727699625a4699efb222ebed9d6bc2887875aa42/src/lib/replication/repl_dev/raft_state_machine.cpp#L89 |
1 enable RaftReplDev test and RaftReplDevDynamic test , which are essential gates for raft_repl_dev.
2 add code to avoid generating duplicated test req , which will fail raft_repl_dev test.
3 fix bug when stopping repl_service_timers