Archive:EntryResource:getPublishedBinaries timeouts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Julian Edwards |
Bug Description
OOPS-1868E2663
From this code:
demo:
#!/usr/bin/env python
from lpltk import LaunchpadService
lp = LaunchpadServic
edgers = lp.launchpad.
edgers_ppa = edgers.
for bin in edgers_
print "Binary"
https:/
slow query:
SELECT BinaryPackagePu
FROM BinaryPackageName,
BinaryPack
BinaryPack
WHERE BinaryPackagePu
AND BinaryPackagePu
AND BinaryPackageRe
AND (1=1)
ORDER BY BinaryPackageNa
OFFSET 0
This is sporadic - I think we've got cold caching effects here.
Related branches
- Robert Collins (community): Approve (db)
- Stuart Bishop: Pending (db) requested
- Launchpad code reviewers: Pending requested
-
Diff: 217 lines (+55/-14)9 files modifieddatabase/schema/Makefile (+1/-1)
database/schema/launchpad-2208-00-0.sql (+2/-0)
database/schema/patch-2208-40-0.sql (+14/-0)
database/schema/security.cfg (+19/-0)
lib/canonical/launchpad/tests/test_sampledata.py (+10/-3)
lib/devscripts/ec2test/account.py (+1/-0)
lib/lp/registry/model/sourcepackage.py (+2/-3)
lib/lp/soyuz/model/archive.py (+3/-3)
lib/lp/soyuz/model/packagecloner.py (+3/-4)
Changed in launchpad: | |
status: | New → Triaged |
importance: | Undecided → Critical |
tags: | added: timeout |
summary: |
- Timeout OOPS trying to retrieve PPA contents + Archive:EntryResource:getPublishedBinaries timeouts |
description: | updated |
Changed in launchpad: | |
assignee: | nobody → Julian Edwards (julian-edwards) |
status: | Triaged → In Progress |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
description: | updated |
description: | updated |
observations:
- cannot be sorted in index - name, debversion is whats needed, only name,build or debversion are available in indices.