Sonarr delete logic too aggressive?

I recently switched to Sonarr from Sickbeard and so had a large collection of files already. When trying to run updates to fill holes/upgrade quality in some seasons, Sonarr apparently likes to go crazy deleting existing files when it fails to download a quality upgrade.

14-12-2 16:32:01.6|Info|FailedDownloadService|[Revolution.2012.S01E02.Chained.Heat.WEB-DL.XVID-AVIGUY] Download Failed, Failed download is older than the grace period.
14-12-2 16:32:06.2|Info|RecycleBinProvider|Recycling Bin has not been configured, deleting permanently. \10.0.0.8\TV\Revolution\Season 01\Revolution - s01e02 - Chained Heat - SD TV.avi

Mv SD is configured: SDTV -> WEBDL-480p -> DVD

What is the logic behind killing the SDTV version due to failing to DL the WEBDL-480p? I’d much rather have something than nothing and I can’t think of any logical reason when you’d ever want this to happen.

I’ve now configured a Recycle Bin, but that doesn’t help the 100+ episodes that Sonarr already sent to never never land, and now I’ve got to monitor that folder and sort between legit deletes and delete from Sonarr pitching a fit.

It would only delete if there was a better quality file to import. Something else happened in the 5 seconds between the failure being detected and the file being deleted, debug logs would be the key to finding out exactly what is going on.

Did you setup the drone factory? If so, whats the path set to?
You said about 100 files have been deleted, all after failed downloads?

There are a number of checks in place to ensure files aren’t deleted, in such a way. Log files will definitely help in tracking down an issue.

I’ve enabled debug logs now.

Drone factory is: \10.0.0.8\pvr\downloads\factory. Nothing outputs to there. I set that due to not being sure if it actually had a use for me or not. Sabnzbd outputs to \10.0.0.8\pvr\downloads\complete.

It does look like all deletes occurred after failed downloads (different filenames).

Okay thanks, please let us know if this happens again, I’ll do some testing as well.

You don’t need it, but its handy for importing things when the automatic import fails or you get the file from somewhere else.