Opened 12 years ago

Closed 11 years ago

#420 closed defect (fixed)

Reprocess failed uploads

Reported by: Brett Smith Owned by:
Priority: major Milestone: 0.5.0
Component: programming Keywords:
Cc: Parent Tickets:

Description

When an upload fails to process for some reason, right now it hangs around the database in an unprocessed state, forever. When it's appropriate, we would like to retry processing on some of those uploads.

Reasons why processing might fail once and succeed later include all the usual transient errors we get in software: lack of resources, inopportune crashes or outages, gamma rays, etc. Probably one of the hardest parts of this work is going to be figuring out how to distinguish when to try again, and when we shouldn't bother.

If people can comment with specific situations that have happened in their MediaGoblin installs, and maybe a repr of the MediaEntry for that, it would be helpful.

I intend to tackle this.

Change History (7)

comment:1 by Brett Smith, 12 years ago

I am writing up how this will be designed and implemented in the wiki.

comment:2 by Christopher Allan Webber, 12 years ago

Component: component1programming

comment:3 by Emily O'Leary, 11 years ago

Any more progress on this? It's definitely be a very useful feature, especially if we moved towards having multiple formats supported.

comment:4 by rodney757, 11 years ago

Owner: changed from Brett Smith to rodney757
Status: newin_progress

comment:5 by rodney757, 11 years ago

I'm assuming that you are no longer working on this. If you are, feel free to correct me.

comment:6 by rodney757, 11 years ago

Owner: rodney757 removed
Status: in_progressreview

This branch doesn't automatically reprocess failed uploads, but provides the reprocessing framework and a gmg commcand to reprocess all failed uploads.

https://github.com/rodney757/mediagoblin/tree/reprocessing

comment:7 by Christopher Allan Webber, 11 years ago

Milestone: 0.5.0
Resolution: fixed
Status: reviewclosed

This is both merged... AND AWESOME!

Note: See TracTickets for help on using tickets.