LibraryFileDownloadCount breaks Librarian garbage collection
Bug #318685 reported by
Stuart Bishop
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Stuart Bishop |
Bug Description
We are adding a new table, LibraryFileDown
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.
Changed in launchpad: | |
assignee: | nobody → stub |
importance: | Undecided → High |
status: | New → Triaged |
Changed in launchpad-foundations: | |
milestone: | none → 2.2.1 |
Changed in launchpad-foundations: | |
status: | Triaged → In Progress |
Changed in launchpad-foundations: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
r7616