Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: introduce tiered cache module #177

Merged
merged 3 commits into from
Nov 7, 2022
Merged

feat: introduce tiered cache module #177

merged 3 commits into from
Nov 7, 2022

Conversation

MrCroxx
Copy link
Owner

@MrCroxx MrCroxx commented Nov 7, 2022

What changes were proposed in this pull request?

Introduce the tiered cache module for further usage.

Which issues is this PR related to?

#171

How was this patch tested?

Passed unit tests. The module is not integrated into the RunKV storage engine for now.

Will this help MrCroxx run or graduate?

Hopefully.

@MrCroxx MrCroxx added the feature New feature. label Nov 7, 2022
@MrCroxx MrCroxx self-assigned this Nov 7, 2022
@codecov
Copy link

codecov bot commented Nov 7, 2022

Codecov Report

Merging #177 (52a3fa0) into main (383ce7a) will increase coverage by 3.51%.
The diff coverage is 88.25%.

@@            Coverage Diff             @@
##             main     #177      +/-   ##
==========================================
+ Coverage   81.35%   84.86%   +3.51%     
==========================================
  Files          94      100       +6     
  Lines        9212    11022    +1810     
==========================================
+ Hits         7494     9354    +1860     
+ Misses       1718     1668      -50     
Impacted Files Coverage Δ
storage/src/lib.rs 100.00% <ø> (ø)
storage/src/tiered_cache/file_cache/error.rs 0.00% <0.00%> (ø)
wheel/src/lib.rs 91.02% <ø> (ø)
storage/src/tiered_cache/mod.rs 21.68% <21.68%> (ø)
storage/src/tiered_cache/file_cache/utils.rs 75.00% <75.00%> (ø)
storage/src/tiered_cache/file_cache/cache.rs 78.45% <78.45%> (ø)
storage/src/lsm_tree/components/sstable_store.rs 83.01% <80.00%> (-1.25%) ⬇️
storage/src/tiered_cache/file_cache/file.rs 83.25% <83.25%> (ø)
storage/src/lsm_tree/components/skiplist/list.rs 85.71% <88.88%> (-0.05%) ⬇️
storage/src/tiered_cache/file_cache/mod.rs 88.88% <88.88%> (ø)
... and 20 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@MrCroxx MrCroxx merged commit 01377d6 into main Nov 7, 2022
@MrCroxx MrCroxx deleted the xx/sharded-file-cache branch November 7, 2022 05:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant