-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3290 from aawsome/prune-handle-duplicates
prune: Handle duplicate blobs more efficiently
- Loading branch information
Showing
2 changed files
with
94 additions
and
44 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Enhancement: Optimize handling of duplicate blobs in `prune` | ||
|
||
Restic `prune` always used to repack all data files containing duplicate | ||
blobs. This effectively removed all duplicates during prune. However, as a | ||
consequence all these data files were repacked even if the unused repository | ||
space threshold could be reached with less work. | ||
|
||
This is now changed and `prune` works nice and fast also if there are lots | ||
of duplicates. | ||
|
||
https://github.com/restic/restic/issues/3114 | ||
https://github.com/restic/restic/pull/3290 |
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