New bug listings need to preload more attributes
Bug #901122 reported by
William Grant
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Deryck Hodge |
Bug Description
The beta bug listings use more data than the old ones, but don't preload all of it. This leads to lots of wasted SQL time, causing new timeouts. Notable omissions are bug.owner, bug.tags and bug.linked_
Old: OOPS-bff1debc57d861c6bfc3245a373ee7c0
New: OOPS-22be944a946b54a7e06a56a3651a6a40.
Related branches
lp:~deryck/launchpad/preload-tags-for-buglistings-901122
- Robert Collins (community): Approve
-
Diff: 201 lines (+58/-7)7 files modifiedlib/lp/bugs/browser/bugtask.py (+10/-2)
lib/lp/bugs/browser/cvereport.py (+2/-1)
lib/lp/bugs/browser/tests/test_bugtask.py (+4/-3)
lib/lp/bugs/doc/bugtask.txt (+15/-0)
lib/lp/bugs/interfaces/bugtask.py (+6/-0)
lib/lp/bugs/model/bugtask.py (+18/-0)
lib/lp/registry/browser/milestone.py (+3/-1)
lp:~deryck/launchpad/adapt-badges-listing-item-901122
- Steve Kowalik (community): Approve (code)
-
Diff: 50 lines (+28/-1)2 files modifiedlib/lp/bugs/browser/bugtask.py (+1/-1)
lib/lp/bugs/browser/tests/test_bugtask.py (+27/-0)
lp:~deryck/launchpad/buglistings-preload-people-901122
- Aaron Bentley (community): Approve
-
Diff: 284 lines (+83/-24)7 files modifiedlib/lp/bugs/browser/bugtask.py (+13/-5)
lib/lp/bugs/browser/cvereport.py (+5/-3)
lib/lp/bugs/browser/tests/test_bugtask.py (+26/-11)
lib/lp/bugs/interfaces/bugtask.py (+6/-0)
lib/lp/bugs/model/bugtask.py (+13/-0)
lib/lp/registry/browser/milestone.py (+13/-2)
lib/lp/registry/browser/tests/test_milestone.py (+7/-3)
Changed in launchpad: | |
assignee: | nobody → Deryck Hodge (deryck) |
Changed in launchpad: | |
status: | Triaged → In Progress |
Changed in launchpad: | |
status: | Fix Committed → In Progress |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Are these timeouts accessing my bugs page (https:/ /bugs.launchpad .net/~amoog) related? Or should I report a new bug:
OOPS-6d3d733bb0b508dfc518c09b5129fb9d
OOPS-5282105daa77c1a1eab48db30d7948cd
OOPS-6fcab1c69ddbb72987873d7ff0353608