MrCroxx / RunKV

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

feat: introduce cache file v2 #175

Closed MrCroxx closed 2 years ago

MrCroxx commented 2 years ago

What changes were proposed in this pull request?

Introduce cache file v2. Which is prepared for append-only & punch-hole write model.

Which issues is this PR related to?

171

codecov[bot] commented 2 years ago

Codecov Report

Merging #175 (a303a77) into main (0770ce4) will decrease coverage by 1.21%. The diff coverage is 62.11%.

@@            Coverage Diff             @@
##             main     #175      +/-   ##
==========================================
- Coverage   84.00%   82.78%   -1.22%     
==========================================
  Files          90       94       +4     
  Lines        9028     9307     +279     
==========================================
+ Hits         7584     7705     +121     
- Misses       1444     1602     +158     
Impacted Files Coverage Δ
storage/src/file_cache/error.rs 0.00% <ø> (ø)
storage/src/file_cache/judge.rs 0.00% <0.00%> (ø)
storage/src/lib.rs 100.00% <ø> (ø)
storage/src/file_cache/manager.rs 5.00% <5.00%> (ø)
storage/src/file_cache/buffer.rs 70.39% <29.16%> (-6.34%) :arrow_down:
storage/src/file_cache/file_old.rs 67.41% <67.41%> (ø)
storage/src/file_cache/fs.rs 73.33% <73.33%> (ø)
storage/src/file_cache/file.rs 88.23% <86.88%> (-5.03%) :arrow_down:
wheel/src/lib.rs 91.02% <0.00%> (+0.42%) :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 0770ce4...a303a77. Read the comment docs.