Skip to content

Conversation

@Xuyuchao-juice
Copy link
Contributor

@Xuyuchao-juice Xuyuchao-juice commented Nov 10, 2025

How about this PR
New low-level doEmptyDir interface, to batch delete files, can optimize metadata operations.

Test Reslut:
Delete a directory with 10,000 empty files
image
d6e8d37c7c7ca11f811caec817c5bb68

@Xuyuchao-juice Xuyuchao-juice marked this pull request as draft November 10, 2025 01:51
@codecov
Copy link

codecov bot commented Nov 10, 2025

Codecov Report

❌ Patch coverage is 8.25688% with 200 lines in your changes missing coverage. Please review.
✅ Project coverage is 22.11%. Comparing base (c4cfbee) to head (6677229).
⚠️ Report is 10 commits behind head on main.

Files with missing lines Patch % Lines
pkg/meta/sql.go 0.00% 181 Missing ⚠️
pkg/meta/utils.go 48.38% 13 Missing and 3 partials ⚠️
pkg/meta/redis.go 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6457      +/-   ##
==========================================
- Coverage   22.29%   22.11%   -0.18%     
==========================================
  Files          30       30              
  Lines       20446    20688     +242     
==========================================
+ Hits         4558     4575      +17     
- Misses      15377    15601     +224     
- Partials      511      512       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Xuyuchao-juice Xuyuchao-juice marked this pull request as ready for review November 11, 2025 01:27
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.

2 participants