I have Sonarr and storage running on two seperate machines. When the storage server sleeps, Sonarr still downloads new episodes as i should. When the storage server wakes up, Sonarr imports the new episodes, but it does not delete the old episodes. If the storage server is online when a new episode is downloaded, the old one is deleted correctly.
By looking at the episode history, it seems as if Sonarr does not check if the episode is really deleted, and therefore continues to import the new episode once the storage server is online.
I have tried using a specific folder for recycling bin, but the result is the same.
Thanks for the info, turns out Sonarr was happily ignoring the fact that the storage was unavailable and treating the missing file as already being deleted. There will be a fix for this issue in the next release.