forked from borgbackup/borg
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
compact: build and cache a fresh chunks index, see borgbackup#8397
Uses ChunkIndex (a specialized, memory-efficient data structure), so borg compact needs less memory now. Also, compact builds an uptodate chunks index now, which is saved to cache/chunks in the store, so every borg can find it and fetch it from there instead of always ad-hoc building the chunks index via repository.list(), which can be rather slow.
- Loading branch information
1 parent
b862f2b
commit dcd3090
Showing
1 changed file
with
76 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters