mirror of
https://github.com/restic/restic.git
synced 2025-12-16 00:42:46 +00:00
prune: handle very high duplication of some blobs
Suggested-By: Alexander Weiss <alex@weissfam.de>
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
Enhancement: Improve `prune` in presence of duplicate blobs
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user