Archive:EntryResource:getPublishedSources
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Robert Collins |
Bug Description
25 SELECT SourcePackagePu
GET: 24 POST: 1 Robots: 0 Local: 3
21 https:/
OOPS-1886A2323, OOPS-1886A2325, OOPS-1886A2331, OOPS-1886B1613, OOPS-1886B1616
8. 97 15002ms SQL-launchpad-
SELECT SourcePackagePu
FROM SourcePackageName,
SourcePack
SourcePack
LEFT JOIN SourcePackageRe
LEFT JOIN Person AS "_prejoin2" ON "_prejoin1".creator = "_prejoin2".id
LEFT JOIN GPGKey AS "_prejoin3" ON "_prejoin1"
LEFT JOIN DistroSeries AS "_prejoin4" ON SourcePackagePu
LEFT JOIN Section AS "_prejoin5" ON SourcePackagePu
WHERE SourcePackagePu
AND SourcePackagePu
AND SourcePackageRe
AND (1=1)
ORDER BY SourcePackageNa
OFFSET 0
Related branches
- Tim Penhey (community): Approve (code)
- Ian Booth (community): Approve (*code)
-
Diff: 1300 lines (+271/-300)30 files modifiedlib/canonical/launchpad/doc/publishing-security.txt (+6/-10)
lib/canonical/launchpad/testing/fakepackager.py (+2/-4)
lib/lp/archivepublisher/tests/archive-signing.txt (+1/-1)
lib/lp/archiveuploader/nascentupload.py (+3/-1)
lib/lp/archiveuploader/nascentuploadfile.py (+5/-3)
lib/lp/archiveuploader/tests/nascentupload-ddebs.txt (+2/-2)
lib/lp/archiveuploader/tests/test_ppauploadprocessor.py (+8/-11)
lib/lp/archiveuploader/tests/test_uploadprocessor.py (+5/-5)
lib/lp/registry/model/distroseriesdifference.py (+5/-6)
lib/lp/soyuz/browser/archive.py (+9/-15)
lib/lp/soyuz/browser/tests/publishing-views.txt (+1/-1)
lib/lp/soyuz/browser/tests/test_archive_packages.py (+2/-2)
lib/lp/soyuz/doc/archive.txt (+21/-156)
lib/lp/soyuz/doc/distribution.txt (+1/-1)
lib/lp/soyuz/doc/publishing.txt (+3/-3)
lib/lp/soyuz/doc/sourcepackagerelease-build-lookup.txt (+3/-3)
lib/lp/soyuz/interfaces/publishing.py (+4/-0)
lib/lp/soyuz/interfaces/sourcepackagerelease.py (+1/-0)
lib/lp/soyuz/model/archive.py (+76/-49)
lib/lp/soyuz/model/packagecloner.py (+0/-4)
lib/lp/soyuz/scripts/add_missing_builds.py (+2/-1)
lib/lp/soyuz/scripts/ftpmasterbase.py (+3/-3)
lib/lp/soyuz/scripts/packagecopier.py (+3/-3)
lib/lp/soyuz/scripts/tests/test_copypackage.py (+6/-6)
lib/lp/soyuz/stories/ppa/xx-delete-packages.txt (+1/-1)
lib/lp/soyuz/stories/ppa/xx-ppa-packages.txt (+2/-2)
lib/lp/soyuz/stories/soyuz/xx-package-diff.txt (+1/-1)
lib/lp/soyuz/tests/test_archive.py (+92/-2)
lib/lp/soyuz/tests/test_processaccepted.py (+2/-2)
lib/lp/soyuz/tests/test_syncpackagejob.py (+1/-2)
description: | updated |
description: | updated |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
Limit (cost=955708. 70..955708. 89 rows=76 width=3079) 70..956933. 77 rows=490029 width=3079) me.name, sourcepackagere lease.version, sourcepackagepu blishinghistory .id 47..937950. 23 rows=490029 width=3079) ublishinghistor y.distroseries = _prejoin4.id) 71..931209. 56 rows=490029 width=2784)
Hash Cond: (_prejoin1. dscsigningkey = _prejoin3.id)
-> Nested Loop Left Join (cost=314428. 10..921059. 70 rows=490029 width=2716)
- > Hash Left Join (cost=314428. 10..674859. 04 rows=490029 width=1961)
Hash Cond: (sourcepackagep ublishinghistor y.section = _prejoin5.id)
-> Hash Join (cost=314425. 86..668118. 91 rows=490029 width=1951)
Hash Cond: (sourcepackager elease. sourcepackagena me = sourcepackagena me.id)
-> Merge Right Join (cost=313264. 66..654706. 97 rows=490029 width=1941)
Merge Cond: (_prejoin1.id = sourcepackagepu blishinghistory .sourcepackager elease)
-> Index Scan using sourcepackagere lease_pkey on sourcepackagere lease _prejoin1 (cost=0. 00..327201. 72 rows=822218 width=1801)
-> Materialize (cost=313231. 82..319357. 18 rows=490029 width=140)
-> Sort (cost=313231. 82..314456. 89 rows=490029 width=140)
Sort Key: sourcepackagepu blishinghistory .sourcepackager elease
-> Hash Join (cost=180069. 99..236767. 94 rows=490029 width=140)
Hash Cond: (sourcepackagep ublishinghistor y.sourcepackage release = sourcepackagere lease.id)
-> Bitmap Heap Scan on sourcepackagepu blishinghistory (cost=7833. 09..31881. 45 rows=490029 width=118)
Recheck Cond: (archive = 1)
- > Bitmap Index Scan on securesourcepac kagepublishingh istory_ _archive_ _status_ _idx (cost=0.00..7710.58 rows=490029 width=0)
Index Cond: (archive = 1)
-> Hash (cost=156338. 18..156338. 18 rows=822218 width=26)
- > Seq Scan on sourcepackagere lease (cost=0. 00..156338. 18 rows=822218 width=26)
-> Hash (cost=653. 87..653. 87 rows=40587 width=18)
-> Seq Scan on sourcepackagename (cost=0.00..653.87 rows=40587 width=18)
-> Hash (cost=1.55..1.55 rows=5...
-> Sort (cost=955708.
Sort Key: sourcepackagena
-> Hash Left Join (cost=316138.
Hash Cond: (sourcepackagep
-> Hash Left Join (cost=316135.