-
Notifications
You must be signed in to change notification settings - Fork 1.7k
prune on b2: restic stopped reading files for new index after 36k files #2024
Copy link
Copy link
Closed
Labels
Description
Output of restic version
0.9.2
How did you run restic exactly?
restic prune
What backend/server/service did you use to store the repository?
B2
Expected behavior
Prune successfully
Actual behavior
building new index for repo
[1:28:48] 68.48% 36000 / 52567 packs
repository contains 36000 packs (606127 blobs) with 170.894 GiB
processed 606127 blobs: 0 duplicate blobs, 0B duplicate
load all snapshots
find data that is still in use for 8 snapshots
[0:33] 100.00% 8 / 8 snapshots
Fatal: number of used blobs is larger than number of available blobs!
Steps to reproduce the behavior
no idea
Do you have any idea what may have caused this?
Yep, when List() returns an error, it is silently discarded here:
Line 64 in 233596f
| _ = repo.List(ctx, restic.DataFile, func(id restic.ID, size int64) error { |
Do you have an idea how to solve the issue?
Pass the error up the call chain and/or retry it.
Reactions are currently unavailable