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

repo-compress: use chunkindex rather than repository.list() #8398

Conversation

ThomasWaldmann
Copy link
Member

repository.list is slow, so rather use the chunkindex, which might be cached in future.

currently, it also uses repository.list, but at least we can solve the problem at one place then.

repository.list is slow, so rather use the chunkindex,
which might be cached in future. currently, it also uses
repository.list, but at least we can solve the problem
at one place then.
Copy link

codecov bot commented Sep 19, 2024

Codecov Report

Attention: Patch coverage is 92.30769% with 1 line in your changes missing coverage. Please review.

Project coverage is 81.54%. Comparing base (d322889) to head (f1a39a0).
Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
src/borg/archiver/repo_compress_cmd.py 92.30% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8398      +/-   ##
==========================================
- Coverage   81.55%   81.54%   -0.01%     
==========================================
  Files          70       70              
  Lines       12723    12717       -6     
  Branches     2299     2297       -2     
==========================================
- Hits        10376    10370       -6     
  Misses       1694     1694              
  Partials      653      653              

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

@ThomasWaldmann ThomasWaldmann merged commit 385eeeb into borgbackup:master Sep 19, 2024
15 of 16 checks passed
@ThomasWaldmann ThomasWaldmann deleted the repo-compress-using-chunkindex branch September 19, 2024 17:42
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.

1 participant