Page MenuHomePhabricator

Source not found after uploading, deleting, restoring, then deleting again
Closed, InvalidPublic

Description

I got:

File:191067 stomachache 96kelectrickalimba-h1.wav: Source not found

in the job queue when testing the WAV commit locally. This was after uploading a file, deleting it, restoring, then deleting again, then uploading another file with a different name and the same content (I uploaded it under the wrong name the first time).

So it's an unusual set of steps, but I'm filing anyway.


Version: master
Severity: normal

Details

Reference
bz50413

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:50 AM
bzimport set Reference to bz50413.

mdale wrote:

Is this specific to the .wav support? or did you see this happen with other formats as well?

I just reproduced it with a FLAC file, after just uploading, then immediately deleting before transcoding (no other steps).

It seems to work out okay, since it gets deleted from the transcode table immediately, then after the job fails it somehow disappears from the queue (not sure why, since Job->allowRetries seems to default to true, and isn't overridden here).

To be more clear, it deletes it from the transcode table at the time of the wiki deletion. But it doesn't get removed from the job queue then.

On running the queue, I get that error. But then, the job is somehow evicted from the queue (doesn't run again, and showJobs indicates 0 jobs).

jgerber wrote:

Thats what is currently happening and should work, might want to remove the message and just terminate the job silently if the file no longer exists.

Alternatively will have another look if there is a way to remove the job in that case.

TheDJ subscribed.

i;m suggesting we close this, as quite a few things in this area have changed. There are still bugs, most logged in TimedMediaHandler-Transcode and any more specific and recent report should be either added to one of those or an entire new ticket should be filed.