prune
stats inconsistent / inaccurate
#3918
Labels
category: prune
state: need investigating
cause unknown, need investigating/troubleshooting
type: bug
What's the version of restic you used? Please include the output of restic version in your bug report.
restic 0.14.0 compiled with go1.19 on linux/amd64
What commands did you execute to get to where the bug occurred?
The starting point is a ~ 3,2 TiB repository pre 0.14.0. I then:
restic prune --compression max --pack-size 64 --repack-uncompressed --repack-small --no-cache
restic prune --compression max --pack-size 64 --repack-uncompressed --repack-small --no-cache --dry-run
restic prune --compression max --pack-size 64 --repack-uncompressed --repack-small --no-cache
I do not have any logs of the first restic prune run.
What did you expect?
I expected that prune dry-run and wet run behave the same (deterministic) regarding the stats they show. And I expect the numbers to be correct in any case.
What happened instead?
Log of 2nd prune:
Log of 3rd prune:
There is a discrepancy between dry-run and wet-run in terms of blobs to repack and blobs to delete. Dry-run shows the respective blocks as
to delete
whereas wet-run shows them asto repack
. Additonally, theunused size after prune
is definitely inaccurate.Are you aware of a way to reproduce the bug?
No.
The text was updated successfully, but these errors were encountered: