searchTasks with structural_subscriber times out regularly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Abel Deuring |
Bug Description
It is possible to search for bug tasks using structural_
xswat = launchpad.
tasks = ubuntu.
and this works fine. However, if an additional parameter is added like importance it results in a OOPS.
tasks = ubuntu.
https:/
SQL time: 17078 ms
Non-sql time: 121 ms
Total time: 17199 ms
Statement Count: 21
SELECT COUNT(*) FROM Bug, BugTask WHERE Bug.id = BugTask.bug AND BugTask.importance = 40 AND BugTask.
Related branches
- Gavin Panella (community): Approve
-
Diff: 733 lines (+302/-115)4 files modifiedlib/lp/bugs/interfaces/bugtask.py (+2/-2)
lib/lp/bugs/tests/test_bugtask_search.py (+267/-113)
lib/lp/testing/factory.py (+11/-0)
lib/lp/testing/tests/test_factory.py (+22/-0)
- Gavin Panella (community): Approve (code)
- Graham Binns (community): Approve (code)
-
Diff: 495 lines (+233/-121)2 files modifiedlib/lp/bugs/model/bugtask.py (+166/-117)
lib/lp/bugs/tests/test_bugtask_search.py (+67/-4)
tags: | added: timeout |
Changed in malone: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: dhrb |
description: | updated |
Changed in malone: | |
status: | Triaged → In Progress |
assignee: | nobody → Abel Deuring (adeuring) |
tags: | added: pg83 |
Changed in malone: | |
status: | Fix Committed → In Progress |
tags: | removed: qa-untestable |
Changed in malone: | |
status: | In Progress → Fix Committed |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in malone: | |
status: | Fix Committed → Fix Released |
This has happened with both the 'ubuntu-x-swat' team and the 'ubuntu-server' team.