storj/storagenode/collector
Clement Sam 07beef378d storagenode/collector: delete expired piece info if file does not exist
The collector tries deleting a piece over and over again, though
the piece does not exist on the storagenode's filesystem.
We need to delete the piece info from the expired db if the
targeted file does not exist.
This does not resolve the base problem of why the file
is deleted before the collector tries deleting it.
This change deletes the piece info from the expired db
if the file does not exist, since we're already trying
to delete that piece anyway.

Closes https://github.com/storj/storj/issues/4192

Change-Id: If659185ca14f1cb29fd3c4237374df6fcd535df8
2022-09-15 12:29:29 +00:00
..
service_test.go storagenode/collector: delete expired piece info if file does not exist 2022-09-15 12:29:29 +00:00
service.go storagenode/collector: delete expired piece info if file does not exist 2022-09-15 12:29:29 +00:00