BranchMergeProposal:+index timeout
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Robert Collins |
Bug Description
https:/
OOPS-1906EB1212
Branch: launchpad-rev-12632
Revno: 12632
SQL time: 9337 ms
Non-sql time: 1910 ms
Total time: 11247 ms
Statement Count: 74
67. 2480 8362ms SQL-launchpad-
SELECT BranchRevision.
Revision.id,
FROM BranchRevision,
Revision,
RevisionAuthor
WHERE BranchRevision.
AND BranchRevision.
AND BranchRevision.
AND Revision.
AND Revision.
AND Revision.
ORDER BY BranchRevision.
Related branches
- Steve Kowalik (community): Approve (code)
- William Grant: Approve (code*)
-
Diff: 139 lines (+17/-13)6 files modifiedlib/canonical/launchpad/components/decoratedresultset.py (+2/-1)
lib/lp/code/interfaces/branch.py (+1/-2)
lib/lp/code/model/branch.py (+6/-3)
lib/lp/code/model/branchmergeproposal.py (+2/-2)
lib/lp/code/model/tests/test_branch.py (+5/-5)
lib/lp/services/database/bulk.py (+1/-0)
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
-------
Sort (cost=58877.
Sort Key: branchrevision.
Sort Method: quicksort Memory: 25kB
-> Hash Join (cost=3205.
Hash Cond: (revision.
-> Nested Loop (cost=0.
-> Index Scan using revisionnumber_
-> Index Scan using changeset_pkey on revision (cost=0.00..7.26 rows=1 width=204) (actual time=0.325..0.325 rows=0 loops=10020)
-> Hash (cost=1974.
-> Seq Scan on revisionauthor (cost=0.00..1974.19 rows=98519 width=58) (actual time=0.027..81.535 rows=98519 loops=1)
Total runtime: 4211.886 ms