If the queue is started and all the entries in the queue are marked as failed then these entries are reset and then transferred. (this is by design)
The sanity check on delete operation is currently resetting all failed entries that appear above the delete operation, even if they belong to a different servers, in fact its too vague and I will change it to be limited to the same origin server.
We only need to prevent the delete operation from deleting the origin before we have a chance to transfer it..
I will change the delete operation to abort the queue if there is a failed transfer from the same origin that cannot be retried.
|