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

storage: introduce CasManager to support chunk dedup at runtime #1626

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

smoke: add smoking test for cas and chunk dedup

a9b8fe4
Select commit
Loading
Failed to load commit list.
Open

storage: introduce CasManager to support chunk dedup at runtime #1626

smoke: add smoking test for cas and chunk dedup
a9b8fe4
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Oct 1, 2024 in 0s

61.35% (+0.06%) compared to a4683ba

View this Pull Request on Codecov

61.35% (+0.06%) compared to a4683ba

Details

Codecov Report

Attention: Patch coverage is 72.96512% with 93 lines in your changes missing coverage. Please review.

Project coverage is 61.35%. Comparing base (a4683ba) to head (a9b8fe4).

Files with missing lines Patch % Lines
storage/src/cache/dedup/mod.rs 83.90% 25 Missing and 8 partials ⚠️
storage/src/cache/cachedfile.rs 10.00% 25 Missing and 2 partials ⚠️
src/bin/nydusd/main.rs 0.00% 18 Missing ⚠️
storage/src/cache/filecache/mod.rs 62.50% 6 Missing ⚠️
storage/src/cache/fscache/mod.rs 60.00% 6 Missing ⚠️
storage/src/utils.rs 96.42% 0 Missing and 2 partials ⚠️
utils/src/digest.rs 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1626      +/-   ##
==========================================
+ Coverage   61.28%   61.35%   +0.06%     
==========================================
  Files         146      146              
  Lines       48156    48491     +335     
  Branches    46123    46458     +335     
==========================================
+ Hits        29514    29752     +238     
- Misses      17084    17165      +81     
- Partials     1558     1574      +16     
Files with missing lines Coverage Δ
storage/src/cache/dedup/db.rs 79.09% <100.00%> (+0.08%) ⬆️
storage/src/cache/mod.rs 57.95% <ø> (ø)
utils/src/digest.rs 87.81% <0.00%> (-0.51%) ⬇️
storage/src/utils.rs 95.98% <96.42%> (+0.10%) ⬆️
storage/src/cache/filecache/mod.rs 66.77% <62.50%> (-0.13%) ⬇️
storage/src/cache/fscache/mod.rs 75.63% <60.00%> (-0.76%) ⬇️
src/bin/nydusd/main.rs 0.00% <0.00%> (ø)
storage/src/cache/cachedfile.rs 37.58% <10.00%> (-0.58%) ⬇️
storage/src/cache/dedup/mod.rs 77.82% <83.90%> (+77.82%) ⬆️

... and 3 files with indirect coverage changes