Branch:+index timeouts - 3 queries triggered per linked bug
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Robert Collins |
Bug Description
84 SELECT BugTask.assignee, BugTask.bug, BugTask.bugwatch, BugTask.
GET: 84 Robots: 0 Local: 62
21 https:/
OOPS-1880B1505, OOPS-1880B190, OOPS-1880B355, OOPS-1880C711, OOPS-1880C712
10 https:/
OOPS-1880A2197, OOPS-1880C2256, OOPS-1880D2210, OOPS-1880E2448, OOPS-1880F2489
8 https:/
OOPS-1880B439, OOPS-1880C2355, OOPS-1880E2284, OOPS-1880G2141, OOPS-1880G441
[19 other URLs]
Picking one:
Branch: launchpad-rev-12432
Revno: 12432
SQL time: 9963 ms
Non-sql time: 4292 ms
Total time: 14255 ms
Statement Count: 328
8.9 seconds in repeated lookups of bugs:
265 8999 33 8966
There are 375 linked bugs on the software centre branch.
Related branches
- Stuart Bishop (community): Approve
- Steve Kowalik (community): Approve (code*)
-
Diff: 745 lines (+249/-120)17 files modifiedlib/canonical/launchpad/testing/pages.py (+15/-0)
lib/lp/bugs/doc/bugtask-search.txt (+9/-0)
lib/lp/bugs/model/bugtask.py (+20/-13)
lib/lp/code/browser/branch.py (+9/-11)
lib/lp/code/browser/branchmergeproposal.py (+5/-0)
lib/lp/code/browser/decorations.py (+5/-2)
lib/lp/code/browser/tests/test_bazaar.py (+0/-7)
lib/lp/code/browser/tests/test_branch.py (+48/-18)
lib/lp/code/interfaces/branch.py (+10/-2)
lib/lp/code/model/branch.py (+30/-10)
lib/lp/code/stories/branches/xx-bug-branch-links.txt (+3/-3)
lib/lp/code/templates/branch-macros.pt (+6/-7)
lib/lp/code/templates/branch-related-bugs-specs.pt (+6/-7)
lib/lp/registry/browser/tests/test_milestone.py (+18/-31)
lib/lp/testing/__init__.py (+2/-8)
lib/lp/testing/matchers.py (+45/-0)
lib/lp/testing/tests/test_matchers.py (+18/-1)
Changed in launchpad: | |
status: | New → Triaged |
importance: | Undecided → Critical |
tags: | added: oops |
summary: |
- Consistent timeouts on codebrowse + Consistent timeouts on ubiquity branch page |
summary: |
- Consistent timeouts on ubiquity branch page + Branch:+index timeouts |
tags: |
added: timeout removed: oops |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
OOPS-1881C305 shows 3 repeats, and in the recent commits 3 linked bugs and one bug linkified from text in the commit message.
https:/ /code.launchpad .net/~bzr- pqm/bzr/ bzr.dev/ +index
so at first blush I think its the showing of merge proposals.