Closed Bug 597271 Opened 15 years ago Closed 11 years ago

Clean up FileUploads

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX
Q4 2011

People

(Reporter: jbalogh, Unassigned)

References

Details

(Whiteboard: [z])

Bug 586696 talks about cleaning up after users upload files, but I haven't gotten everything straight in my head about how this will work. This bug is a reminder to figure out how gc should work, because I'm won't remember to do it as part of that bug.
Priority: -- → P2
Target Milestone: 5.12.1 → 4.x (triaged)
The standalone validator page will be uploading to this table too. See bug 627530
Here is one idea for how it will work: A cron script just deletes any upload that is older than 30 days. If a developer had uploaded and submitted it all at once then no problem, it would have been moved to the files table. If for some crazy reason a developer left his tab open and a month later tried to continue his submission then he should get an error like "your uploaded addon has expired, you'll need to re-upload it." Maybe the timeout could be shorter than 30 days.
The file_uploads table is taking close to a gig now.
Assignee: jbalogh → nobody
Target Milestone: 4.x (triaged) → Q4 2011
Thanks for filing this. Due to resource constraints we are closing bugs which we won't realistically be able to fix. If you have a patch that applies to this bug please reopen. For more info see http://micropipes.com/blog/2014/09/24/the-great-add-on-bug-triage/
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.