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

optimize fast summary #3317

Merged
merged 4 commits into from
Mar 12, 2023
Merged

optimize fast summary #3317

merged 4 commits into from
Mar 12, 2023

Conversation

Hexilee
Copy link
Contributor

@Hexilee Hexilee commented Mar 10, 2023

  • fix a bug in doSyncDirStat of redis engine
  • use inodes in dir stat of leaf dirs instead read them

@Hexilee Hexilee requested review from davies and SandyXSD March 10, 2023 05:47
pkg/meta/redis.go Outdated Show resolved Hide resolved
@codecov-commenter
Copy link

codecov-commenter commented Mar 10, 2023

Codecov Report

Patch coverage: 21.05% and project coverage change: -0.03 ⚠️

Comparison is base (317267e) 55.37% compared to head (f88dba2) 55.34%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3317      +/-   ##
==========================================
- Coverage   55.37%   55.34%   -0.03%     
==========================================
  Files         142      142              
  Lines       33967    33981      +14     
==========================================
- Hits        18808    18807       -1     
- Misses      13159    13169      +10     
- Partials     2000     2005       +5     
Impacted Files Coverage Δ
pkg/meta/utils.go 53.79% <0.00%> (-1.73%) ⬇️
pkg/meta/redis.go 66.62% <100.00%> (+0.03%) ⬆️

... and 7 files with indirect coverage changes

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

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

pkg/meta/utils.go Outdated Show resolved Hide resolved
pkg/meta/utils.go Outdated Show resolved Hide resolved
Signed-off-by: xixi <[email protected]>
@davies davies merged commit 8c8a623 into main Mar 12, 2023
@davies davies deleted the optimize-dir-stat branch March 12, 2023 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants