Librarian garbage collector failing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Stuart Bishop |
Bug Description
The Librarian was refactored for a much reduced memory footprint. Unfortunately, it doesn't work.
Traceback (most recent call last):
File "/srv/launchpad
script.
File "/srv/launchpad
implicit_
File "/srv/launchpad
self.main()
File "/srv/launchpad
librariangc.
File "/srv/launchpad
loop_tuner.run()
File "/srv/launchpad
self.
File "/srv/launchpad
cur.execute("""
psycopg2.
DETAIL: Key (id)=(29935579) is still referenced from table "binarypackagef
Changed in launchpad-foundations: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Stuart Bishop (stub) |
milestone: | none → 2.2.8 |
Changed in launchpad-foundations: | |
status: | Triaged → In Progress |
Changed in launchpad-foundations: | |
status: | Fix Committed → Fix Released |
This is being done because uploads are occurring between calculating the set of files we won't expire even if they are unreachable (including new uploads), and the set of files that need removing.
Solution is to defer calculating the set of files we won't expire even if they are unreachable until the later transaction.