mirror of
https://github.com/restic/restic.git
synced 2025-08-23 06:17:42 +00:00
Use in-memory index to rebuild index in prune
This commit is contained in:

committed by
Alexander Neumann

parent
38cc4393f6
commit
fd33030556
@@ -3,6 +3,8 @@ 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`.
|
||||
|
||||
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
|
||||
@@ -14,9 +16,11 @@ also shows what `prune` would do.
|
||||
|
||||
Fixes several open issues, e.g.:
|
||||
https://github.com/restic/restic/issues/1140
|
||||
https://github.com/restic/restic/issues/1599
|
||||
https://github.com/restic/restic/issues/1985
|
||||
https://github.com/restic/restic/issues/2112
|
||||
https://github.com/restic/restic/issues/2227
|
||||
https://github.com/restic/restic/issues/2305
|
||||
|
||||
https://github.com/restic/restic/pull/2718
|
||||
https://github.com/restic/restic/pull/2842
|
||||
|
Reference in New Issue
Block a user