Archive.getPublishedBinaries(created_since_date=) is very slow
Bug #1441729 reported by
Colin Watson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Colin Watson | ||
lazr.restful |
In Progress
|
High
|
Colin Watson |
Bug Description
To cope with the new world order for ddebs, ddeb-retriever is going to need to use Archive.
Example timeout: OOPS-4a160fb13a4f966d24123318cd4c46eb
I think it would be sensible to index BPPH.datecreated to speed this up.
Related branches
lp://staging/~cjwatson/launchpad/db-index-bpph-datecreated
- William Grant (community): Approve (db)
- Stuart Bishop: Pending (db) requested
-
Diff: 13 lines (+9/-0)1 file modifieddatabase/schema/patch-2209-53-9.sql (+9/-0)
lp://staging/~cjwatson/lazr.restful/range-factory
Ready for review
for merging
into
lp://staging/lazr.restful
- LAZR Developers: Pending requested
-
Diff: 415 lines (+146/-16)9 files modifiedsetup.py (+1/-1)
src/lazr/restful/_operation.py (+10/-1)
src/lazr/restful/_resource.py (+16/-3)
src/lazr/restful/declarations.py (+11/-5)
src/lazr/restful/docs/webservice-declarations.txt (+47/-2)
src/lazr/restful/docs/webservice.txt (+51/-3)
src/lazr/restful/fields.py (+2/-1)
src/lazr/restful/interfaces/_fields.py (+5/-0)
src/lazr/restful/interfaces/_rest.py (+3/-0)
lp://staging/~cjwatson/launchpad/getpublishedbinaries-sorting
- William Grant (community): Approve (code)
-
Diff: 752 lines (+198/-148)12 files modifiedlib/lp/archivepublisher/tests/test_ftparchive.py (+2/-2)
lib/lp/archivepublisher/tests/test_publisher.py (+1/-1)
lib/lp/registry/doc/distroseries.txt (+2/-2)
lib/lp/soyuz/doc/archive.txt (+23/-23)
lib/lp/soyuz/interfaces/archive.py (+23/-4)
lib/lp/soyuz/model/archive.py (+110/-102)
lib/lp/soyuz/scripts/tests/test_initialize_distroseries.py (+3/-3)
lib/lp/soyuz/stories/ppa/xx-ppa-packages.txt (+1/-1)
lib/lp/soyuz/stories/webservice/xx-binary-package-publishing.txt (+1/-1)
lib/lp/soyuz/stories/webservice/xx-source-package-publishing.txt (+1/-1)
lib/lp/soyuz/tests/test_archive.py (+28/-6)
lib/lp/soyuz/tests/test_packagecopyjob.py (+3/-2)
tags: | added: oops performance soyuz-publish timeout |
Changed in launchpad: | |
status: | New → In Progress |
importance: | Undecided → Critical |
assignee: | nobody → Colin Watson (cjwatson) |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
William's suggestion in https:/ /code.launchpad .net/~cjwatson/ launchpad/ db-index- bpph-datecreate d/+merge/ 255539/ comments/ 635978/ +download requires some lazr.restful work to make it possible to slot in StormRangeFactory.