*:+bugs timeouts searching for tags
Bug #735977 reported by
Robert Collins
This bug affects 6 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
William Grant |
Bug Description
6 SELECT BugTask.assignee, BugTask.bug, BugTask.bugwatch, BugTask.
GET: 6 Robots: 0 Local: 5
3 https:/
OOPS-1948AV219, OOPS-1948AW270, OOPS-1948CC233
Related branches
lp:~wgrant/launchpad/faster-tag-searches
- Robert Collins (community): Approve
-
Diff: 152 lines (+39/-37)2 files modifiedlib/lp/bugs/model/bugtasksearch.py (+1/-2)
lib/lp/bugs/model/tests/test_bugtask.py (+38/-35)
description: | updated |
description: | updated |
summary: |
- MaloneApplication:+bugs timeouts + MaloneApplication:+bugs timeouts searching all bugs |
description: | updated |
summary: |
- MaloneApplication:+bugs timeouts searching all bugs + MaloneApplication:+bugs timeouts searching for tags across all bugs |
summary: |
- MaloneApplication:+bugs timeouts searching for tags across all bugs + *:+bugs timeouts searching for tags |
Changed in launchpad: | |
assignee: | nobody → William Grant (wgrant) |
Changed in launchpad: | |
status: | Triaged → In Progress |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
tags: | added: disclosure sharing |
To post a comment you must log in.
SELECT COUNT(*)
FROM BugTask
LEFT JOIN Product ON BugTask.product = Product.id
AND Product.active
JOIN Bug ON BugTask.bug = Bug.id
WHERE Bug.id = BugTask.bug
AND ((BugTask.status = 10)
OR (BugTask.status = 15)
OR (BugTask.status = 20)
OR (BugTask.status = 21)
OR (BugTask.status = 22)
OR (BugTask.status = 25))
AND Bug.duplicateof IS NULL
AND (Bug.fti @@ ftq('firefox'))
AND (Bugtask.product IS NULL
OR Product.active = TRUE)
AND Bug.private = FALSE;
is 1.7s on staging, so not trivially explicable in prod