update-bugtask-targetnamecaches is horrifyingly inefficient
Bug #718004 reported by
William Grant
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
William Grant |
Bug Description
update-
As a quick optimisation we can select all distinct targets and do a group update. Eventually we probably want to drop the targetnamecache field, or fire off a job to update it when a target is renamed.
Related branches
lp:~wgrant/launchpad/bug-718004-rewrite-targetnamecache
- Henning Eggers (community): Approve (code)
-
Diff: 307 lines (+120/-75)4 files modifiedlib/lp/bugs/doc/bugtask.txt (+11/-4)
lib/lp/bugs/interfaces/bugtask.py (+0/-13)
lib/lp/bugs/model/bugtask.py (+27/-23)
lib/lp/bugs/scripts/bugtasktargetnamecaches.py (+82/-35)
Changed in launchpad: | |
status: | Triaged → 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.
Fixed in stable r12379 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 12379>.