prune: Parallelize repack command

This commit is contained in:
Michael Eischer
2020-09-20 00:45:11 +02:00
committed by Alexander Neumann
parent 8a0dbe7c1a
commit b373f164fe
2 changed files with 153 additions and 65 deletions

View File

@@ -0,0 +1,8 @@
Enhancement: Speed up repacking step of prune command
The repack step of the prune command, which moves still used file parts into
new pack files such that the old ones can be garbage collected later on, now
processes multiple pack files in parallel. This is especially beneficial for
high latency backends or when using a fast network connection.
https://github.com/restic/restic/pull/2941