MrCroxx / RunKV

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

feat: file cache skeleton #173

Closed MrCroxx closed 2 years ago

MrCroxx commented 2 years ago

What changes were proposed in this pull request?

Introduce file cache skeleton.

Which issues is this PR related to?

171

codecov[bot] commented 2 years ago

Codecov Report

Merging #173 (26a38dd) into main (4bc46a1) will increase coverage by 0.14%. The diff coverage is 90.05%.

@@            Coverage Diff             @@
##             main     #173      +/-   ##
==========================================
+ Coverage   83.87%   84.01%   +0.14%     
==========================================
  Files          90       90              
  Lines        8850     9028     +178     
==========================================
+ Hits         7423     7585     +162     
- Misses       1427     1443      +16     
Impacted Files Coverage Δ
storage/src/file_cache/error.rs 0.00% <ø> (ø)
storage/src/file_cache/buffer.rs 76.72% <45.45%> (-0.98%) :arrow_down:
storage/src/file_cache/file.rs 93.25% <92.94%> (-6.75%) :arrow_down:
wheel/src/worker/sstable_uploader.rs 76.85% <0.00%> (-1.66%) :arrow_down:
wheel/src/worker/raft.rs 94.45% <0.00%> (-0.17%) :arrow_down:
storage/src/raft_log_store/store.rs 92.70% <0.00%> (+0.23%) :arrow_up:
wheel/src/lib.rs 91.02% <0.00%> (+0.42%) :arrow_up:
wheel/src/components/raft_log_store.rs 67.72% <0.00%> (+0.63%) :arrow_up:

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 4bc46a1...26a38dd. Read the comment docs.