Bug page times out getting subscriptions for logged in users on bugs with many duplicates
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Steve Kowalik |
Bug Description
Timeouts are happening when logged in on bugs with a large number of duplicates.
Example bugs:
* Bug #507062 -> OOPS-2070DX91
* Bug #507062 -> OOPS-2070DX91, OOPS-2117CJ113
* Bug #835153 -> OOPS-2073EE58
This is basically our usual case of death-by-
When retrieving the list of duplicates, we are 2.8s in the request (which isn't great), but the remaining 6 seconds are spent on needless queries while failing to display the list of duplicates.
Related branches
- William Grant: Approve (code)
-
Diff: 345 lines (+88/-90)5 files modifiedlib/lp/bugs/browser/tests/test_bug_views.py (+25/-10)
lib/lp/bugs/browser/tests/test_bugtask.py (+1/-1)
lib/lp/bugs/model/bug.py (+25/-22)
lib/lp/bugs/model/personsubscriptioninfo.py (+36/-56)
lib/lp/bugs/model/tests/test_personsubscriptioninfo.py (+1/-1)
tags: | added: oops |
description: | updated |
Changed in launchpad: | |
importance: | High → Critical |
tags: |
added: timeout removed: oops |
summary: |
- Can't view bug when logged in + Bug page times out getting subscriptions for logged in users |
summary: |
- Bug page times out getting subscriptions for logged in users + Bug page times out getting subscriptions for logged in users on bugs + with many duplicates |
description: | updated |
tags: | added: critical-analysis |
Changed in launchpad: | |
assignee: | nobody → Steve Kowalik (stevenk) |
Changed in launchpad: | |
status: | Triaged → In Progress |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
This is a timeout. It looks like it's happening when looking up your bug subscriptions.