LibraryFileDownloadCount breaks Librarian garbage collection

Bug #318685 reported by Stuart Bishop
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Stuart Bishop

Bug Description

We are adding a new table, LibraryFileDownloadCount, to track download counts of stuff served from the Librarian so we can draw pretty graphs.

The Librarian garbage collector needs to be updated to ignore this table. At the moment it will detect all the LibraryFileAlias links and think the LFA is valid, so if a file has ever been downloaded it will never be garbage collected.

Skipping reference checks on this table is all that is required - the constraint is ON DELETE CASCADE so referring rows will be automatically removed when the LibraryFileAlias is removed.

Stuart Bishop (stub)
Changed in launchpad:
assignee: nobody → stub
importance: Undecided → High
status: New → Triaged
Stuart Bishop (stub)
Changed in launchpad-foundations:
milestone: none → 2.2.1
Stuart Bishop (stub)
Changed in launchpad-foundations:
status: Triaged → In Progress
Revision history for this message
Stuart Bishop (stub) wrote :

r7616

Changed in launchpad-foundations:
status: In Progress → Fix Committed
Changed in launchpad-foundations:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.