MrCroxx / RunKV

[WIP] An experimental cloud-native distributed KV engine for OLTP workload.
MIT License
68 stars 7 forks source link

feat: raft log store pass openraft test suite #98

Closed MrCroxx closed 2 years ago

MrCroxx commented 2 years ago

As titled.

After adapting and fixing, now RaftGroupLogStore can pass openraft test suite test_all.

Ref: #88 .

codecov[bot] commented 2 years ago

Codecov Report

Merging #98 (671f0fe) into main (d434dff) will increase coverage by 0.18%. The diff coverage is 72.33%.

@@            Coverage Diff             @@
##             main      #98      +/-   ##
==========================================
+ Coverage   84.96%   85.14%   +0.18%     
==========================================
  Files          62       64       +2     
  Lines        5379     5943     +564     
==========================================
+ Hits         4570     5060     +490     
- Misses        809      883      +74     
Impacted Files Coverage Δ
wheel/src/error.rs 0.00% <0.00%> (ø)
wheel/src/storage/mod.rs 0.00% <0.00%> (ø)
wheel/src/storage/fsm.rs 23.80% <23.80%> (ø)
wheel/src/storage/raft_log_store.rs 64.75% <65.09%> (+64.75%) :arrow_up:
storage/src/raft_log_store/mem.rs 88.21% <75.00%> (+0.21%) :arrow_up:
storage/src/raft_log_store/store.rs 95.96% <95.91%> (-0.97%) :arrow_down:
storage/src/raft_log_store/entry.rs 93.98% <98.18%> (+0.71%) :arrow_up:
storage/src/raft_log_store/log.rs 89.55% <100.00%> (ø)
storage/src/utils/coding.rs 95.17% <100.00%> (+1.93%) :arrow_up:
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 4053d8e...671f0fe. Read the comment docs.