MrCroxx / RunKV

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

feat: batching raft log entries appends for raft log store, fix propose out-of-order sequences #138

Closed MrCroxx closed 2 years ago

MrCroxx commented 2 years ago

Changes:

BUG:

Ref: #126 #132

codecov[bot] commented 2 years ago

Codecov Report

Merging #138 (d6a8a20) into main (b5ebf5f) will decrease coverage by 0.15%. The diff coverage is 78.17%.

@@            Coverage Diff             @@
##             main     #138      +/-   ##
==========================================
- Coverage   82.56%   82.41%   -0.16%     
==========================================
  Files          77       78       +1     
  Lines        7354     7501     +147     
==========================================
+ Hits         6072     6182     +110     
- Misses       1282     1319      +37     
Impacted Files Coverage Δ
common/src/lib.rs 100.00% <ø> (ø)
storage/bench/bench_raft_log_store.rs 0.64% <0.00%> (-0.09%) :arrow_down:
storage/src/error.rs 10.00% <0.00%> (-4.29%) :arrow_down:
wheel/src/components/lsm_tree.rs 91.12% <80.00%> (+1.06%) :arrow_up:
storage/src/raft_log_store/log.rs 87.50% <87.14%> (-2.58%) :arrow_down:
storage/src/raft_log_store/store.rs 88.88% <90.00%> (-1.15%) :arrow_down:
common/src/sync.rs 100.00% <100.00%> (ø)
storage/src/raft_log_store/metrics.rs 100.00% <100.00%> (ø)
wheel/src/service.rs 83.44% <100.00%> (+0.21%) :arrow_up:
storage/src/utils/coding.rs 95.17% <0.00%> (-1.38%) :arrow_down:
... and 7 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 b5ebf5f...d6a8a20. Read the comment docs.