mirror of
https://github.com/restic/restic.git
synced 2025-08-27 15:13:22 +00:00
prune: Enhance treatment of duplicates
This commit is contained in:

committed by
Michael Eischer

parent
6cbeb4a9f9
commit
7478cbf70e
12
changelog/unreleased/issue-3114
Normal file
12
changelog/unreleased/issue-3114
Normal file
@@ -0,0 +1,12 @@
|
||||
Enhancement: Improve `prune` in presence of duplicate blobs
|
||||
|
||||
Restic `prune` always used to repack all pack files containing duplicate
|
||||
blobs. This effectively removed all duplicates during prune. However, one
|
||||
of the consequences was that all those pack files were downloadeded and
|
||||
duplicate blobs did not contribute to the threshold for unused repository
|
||||
space.
|
||||
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
|
Reference in New Issue
Block a user