Add test that repo.List is only called once

This commit is contained in:
Alexander Weiss
2020-10-17 21:55:46 +02:00
committed by Alexander Neumann
parent fd33030556
commit d2e53730d6
2 changed files with 61 additions and 2 deletions

View File

@@ -3,8 +3,11 @@ Enhancement: Improve pruning performance and make pruning more customizable
The `prune` command is now much faster. This is especially the case for remote
repositories or repositories with not much data to remove.
Also the memory usage of the `prune` command is now reduced.
Restic used to rebuild the index from scratch after pruning. This is now
changed and the index rebuilding uses the information already known by `prune`.
Restic used to rebuild the index from scratch after pruning. This could lead
to missing packs in the index in some cases for eventually consistent
backends, like e.g. AWS S3.
This behavior is now changed and the index rebuilding uses the information
already known by `prune`.
By default, the `prune` command no longer removes all unused data. This
behavior can be fine-tuned by new options, like the acceptable amount of unused space or