Person:+mailinglist-moderate timeout : error while trying to moderate messages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Robert Collins |
Bug Description
Moderating mailing lists times out.
https:/
Branch: launchpad-rev-9760
Revno: 9760
SQL time: 13920 ms
Non-sql time: 2311 ms
Total time: 16231 ms
Statement Count: 1197
https:/
Repeated pattern:
main-slave SELECT Message.
797. 11463 1ms SQL-launchpad-
798. 11465 1ms SQL-launchpad-
799. 11467 32ms librarian-
800. 11500 0ms librarian-read http://
801. 11503 1ms SQL-launchpad-
802. 11507 1ms SQL-launchpad-
803. 11510 1ms SQL-launchpad-
The LibraryFileContent queries will be gone on edge, because that bug is fixed.
The librarian connection and reads are a considerable amount of time; we probably want to issue many connection-reads at once rather than serialising them all, or as curtis says batch it. Batching is almost certainly needed in extremis anyway, so lets do that first.
Related branches
- Curtis Hovey (community): Approve (code)
- Launchpad code reviewers: Pending requested
-
Diff: 107 lines (+36/-13)3 files modifiedlib/lp/registry/browser/team.py (+17/-4)
lib/lp/registry/interfaces/mailinglist.py (+3/-1)
lib/lp/registry/model/mailinglist.py (+16/-8)
summary: |
- launchpad error while trying to moderate messages + Person:+mailinglist-moderate timeout : error while trying to moderate + messages |
tags: |
added: qa-ok removed: qa-needstesting |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad-registry: | |
status: | Fix Committed → Fix Released |
Ok, all of the sudden it's working again.
Thanks guys!