Bugtask:+index loads all messages to determine if the description was edited
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Robert Collins |
Bug Description
this is show in OOPS-1875C65 - the query plan
Limit (cost=679066.
-> Sort (cost=679066.
Sort Key: public.
-> Hash Left Join (cost=573939.
Hash Cond: (message.parent = parent_message.id)
-> Nested Loop (cost=0.
-> Hash (cost=427166.
is due to the loading of the parent messages which is not actually interesting for this case at all.
Related branches
- Robert Collins (community): Approve
-
Diff: 46 lines (+13/-1)3 files modifiedlib/lp/bugs/browser/bugtask.py (+2/-1)
lib/lp/bugs/configure.zcml (+1/-0)
lib/lp/bugs/interfaces/bug.py (+10/-0)
Fixed in stable r12405 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 12405>.