Merge lp:~wgrant/launchpad/smaller-publisher-oopses into lp:launchpad
Proposed by
William Grant
Status: | Merged |
---|---|
Merged at revision: | 18192 |
Proposed branch: | lp:~wgrant/launchpad/smaller-publisher-oopses |
Merge into: | lp:launchpad |
Diff against target: |
157 lines (+66/-33) 3 files modified
lib/lp/archivepublisher/scripts/processaccepted.py (+27/-16) lib/lp/archivepublisher/scripts/processdeathrow.py (+10/-0) lib/lp/archivepublisher/scripts/publishdistro.py (+29/-17) |
To merge this branch: | bzr merge lp:~wgrant/launchpad/smaller-publisher-oopses |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Colin Watson (community) | Approve | ||
Review via email: mp+306074@code.launchpad.net |
Commit message
Use a per-archive OOPS timeline in archivepublisher scripts.
Description of the change
Use a per-archive OOPS timeline in archivepublisher scripts.
Previously SQL queries weren't logged, just librarian and co. requests,
and the timeline covered the entire script run. This resulted in
OOPSes with timelines that were 99.99% irrelevant and omitted the
important SQL bits, and has caused rabbitmq to ENOSPC on at least one occasion.
SQL queries are now logged, and the timeline is reset between archives
in process-accepted, publish-distro and process-death-row.
To post a comment you must log in.