BranchSet:CollectionResource:#branches timeouts

Bug #734751 reported by Robert Collins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
Robert Collins

Bug Description

17 SELECT Person.account, Person.creation_comment, Person.creation_rationale, Person.datecreated, Pe ... Person.verbose_bugnotifications, Person.visibility FROM Person WHERE Person.id = $INT LIMIT $INT:
   GET: 17 Robots: 2 Local: 2
      5 https://api.launchpad.net/1.0/branches (BranchSet:CollectionResource:#branches)
       OOPS-1898E1410, OOPS-1898G1864, OOPS-1898G1918, OOPS-1898G26, OOPS-1898G884

Branch: launchpad-rev-12568
Revno: 12568
SQL time: 7939 ms
Non-sql time: 5269 ms
Total time: 13208 ms
Statement Count: 191

still lots of lazy-loaded persons etc

1 65 2680 41 2639 SQL-launchpad-main-master
SELECT Person.account,
       Person.creation_comment,
       Person.creation_rationale,
       Person.datecreated,
       Person.defaultmembershipperiod,
       Person.defaultrenewalperiod,
       Person.displayname,
       Person.hide_email_addresses,
       Person.homepage_content,
       Person.icon,
       Person.id,
       Person.logo,
       Person.mailing_list_auto_subscribe_policy,
       Person.merged,
       Person.mugshot,
       Person.name,
       Person.personal_standing,
       Person.personal_standing_reason,
       Person.registrant,
       Person.renewal_policy,
       Person.subscriptionpolicy,
       Person.teamdescription,
       Person.teamowner,
       Person.verbose_bugnotifications,
       Person.visibility
FROM Person
WHERE Person.id = $INTLIMIT $INT
2 50 1183 23 1160 SQL-launchpad-main-master
SELECT CodeImport.assignee,
       CodeImport.branch,
       CodeImport.cvs_module,
       CodeImport.cvs_root,
       CodeImport.date_created,
       CodeImport.date_last_successful,
       CodeImport.id,
       CodeImport.OWNER, CodeImport.rcs_type,
                         CodeImport.registrant,
                         CodeImport.review_status,
                         CodeImport.update_interval,
                         CodeImport.url
FROM CodeImport
WHERE CodeImport.branch = $INT
ORDER BY CodeImport.id
3 42 897 21 876 SQL-launchpad-main-master
SELECT Product.answers_usage,
       Product.blueprints_usage,
       Product.OWNER, Product.translations_usage,
                      Product.active,
                      Product.autoupdate,
                      Product.bug_reported_acknowledgement,
                      Product.bug_reporting_guidelines,
                      Product.bug_supervisor,
                      Product.bugtracker,
                      Product.date_next_suggest_packaging,
                      Product.datecreated,
                      Product.description,
                      Product.development_focus,
                      Product.displayname,
                      Product.downloadurl,
                      Product.driver,
                      Product.enable_bug_expiration,
                      Product.enable_bugfiling_duplicate_search,
                      Product.freshmeatproject,
                      Product.homepage_content,
                      Product.homepageurl,
                      Product.icon,
                      Product.id,
                      Product.lastdoap,
                      Product.license_approved,
                      Product.license_info,
                      Product.reviewed,
                      Product.logo,
                      Product.max_bug_heat,
                      Product.mugshot,
                      Product.name,
                      Product.official_answers,
                      Product.official_blueprints,
                      Product.official_malone,
                      Product.official_rosetta,
                      Product.private_bugs,
                      Product.programminglang,
                      Product.project,
                      Product.registrant,
                      Product.remote_product,
                      Product.reviewer_whiteboard,
                      Product.screenshotsurl,
                      Product.security_contact,
                      Product.sourceforgeproject,
                      Product.summary,
                      Product.title,
                      Product.translation_focus,
                      Product.translationgroup,
                      Product.translationpermission,
                      Product.wikiurl
FROM Product
WHERE Product.id = $INTLIMIT $INT
4 13 2131 163 1968 SQL-launchpad-main-master
SELECT Branch.branch_format,
       Branch.branch_type,
       Branch.metadir_format,
       Branch.date_created,
       Branch.date_last_modified,
       Branch.summary,
       Branch.distroseries,
       Branch.id,
       Branch.last_mirror_attempt,
       Branch.last_mirrored,
       Branch.last_mirrored_id,
       Branch.last_scanned,
       Branch.last_scanned_id,
       Branch.lifecycle_status,
       Branch.merge_queue_config,
       Branch.merge_queue,
       Branch.mirror_failures,
       Branch.mirror_status_message,
       Branch.name,
       Branch.next_mirror_time,
       Branch.OWNER, Branch.owner_name,
                     Branch.private,
                     Branch.product,
                     Branch.registrant,
                     Branch.repository_format,
                     Branch.reviewer,
                     Branch.revision_count,
                     Branch.sourcepackagename,
                     Branch.stacked_on,
                     Branch.target_suffix,
                     Branch.unique_name,
                     Branch.url,
                     Branch.whiteboard
FROM Branch
WHERE Branch.id = $INTLIMIT $INT

Tags: qa-ok timeout

Related branches

Revision history for this message
Robert Collins (lifeless) wrote :
Download full text (123.8 KiB)

Current content - because this is likely transient depending on which branches are present (unless it regressed with a lazr.restful change, but I think that that is unlikely).

{"total_size": 50, "start": 0, "entries": [{"control_format": "Bazaar-NG meta directory, format 1\n", "unique_name": "~stephen-tiedemann/nfcpy/trunk", "date_last_modified": "2011-03-14T10:10:58.104329+00:00", "sourcepackage_link": null, "merge_queue_link": null, "private": false, "registrant_link": "https://api.launchpad.net/1.0/~stephen-tiedemann", "linked_bugs_collection_link": "https://api.launchpad.net/1.0/~stephen-tiedemann/nfcpy/trunk/linked_bugs", "branch_format": "Bazaar Branch Format 7 (needs bzr 1.6)\n", "last_mirrored": "2011-03-14T10:10:52.918060+00:00", "subscriptions_collection_link": "https://api.launchpad.net/1.0/~stephen-tiedemann/nfcpy/trunk/subscriptions", "lifecycle_status": "Development", "last_scanned_id": "<email address hidden>", "dependent_branches_collection_link": "https://api.launchpad.net/1.0/~stephen-tiedemann/nfcpy/trunk/dependent_branches", "http_etag": "\"b8d5d008b5c0e7cc97df4d0f1e0ac7c0987d5d7d-d2c17cc01dc7cf0c4f881eca7db20eaaddbfd30e\"", "spec_links_collection_link": "https://api.launchpad.net/1.0/~stephen-tiedemann/nfcpy/trunk/spec_links", "name": "trunk", "reviewer_link": null, "self_link": "https://api.launchpad.net/1.0/~stephen-tiedemann/nfcpy/trunk", "resource_type_link": "https://api.launchpad.net/1.0/#branch", "revision_count": 36, "repository_format": "Bazaar repository format 2a (needs bzr 1.16 or later)\n", "description": null, "landing_targets_collection_link": "https://api.launchpad.net/1.0/~stephen-tiedemann/nfcpy/trunk/landing_targets", "mirror_status_message": null, "subscribers_collection_link": "https://api.launchpad.net/1.0/~stephen-tiedemann/nfcpy/trunk/subscribers", "recipes_collection_link": "https://api.launchpad.net/1.0/~stephen-tiedemann/nfcpy/trunk/recipes", "project_link": "https://api.launchpad.net/1.0/nfcpy", "landing_candidates_collection_link": "https://api.launchpad.net/1.0/~stephen-tiedemann/nfcpy/trunk/landing_candidates", "display_name": "lp:nfcpy", "branch_type": "Hosted", "bzr_identity": "lp:nfcpy", "merge_queue_config": null, "last_scanned": "2011-03-14T10:10:58.992661+00:00", "url": null, "whiteboard": null, "code_import_link": null, "web_link": "https://code.launchpad.net/~stephen-tiedemann/nfcpy/trunk", "owner_link": "https://api.launchpad.net/1.0/~stephen-tiedemann", "last_mirror_attempt": "2010-04-07T10:24:04.800411+00:00", "date_created": "2010-01-30T00:11:07.745857+00:00"}, {"control_format": "Bazaar-NG meta directory, format 1\n", "unique_name": "~trb143/openlp/bugs", "date_last_modified": "2011-03-14T10:10:10.867000+00:00", "sourcepackage_link": null, "merge_queue_link": null, "private": false, "registrant_link": "https://api.launchpad.net/1.0/~trb143", "linked_bugs_collection_link": "https://api.launchpad.net/1.0/~trb143/openlp/bugs/linked_bugs", "branch_format": "Bazaar Branch Format 7 (needs bzr 1.6)\n", "last_mirrored": "2011-03-14T10:10:26.244857+00:00", "subscriptions_collection_link": "https://api.launchpad.net/1.0/~trb143/openlp/bugs/subscr...

description: updated
Revision history for this message
Robert Collins (lifeless) wrote :

more oopses
      7 https://api.launchpad.net/1.0/branches (BranchSet:CollectionResource:#branches)
       OOPS-1905C666, OOPS-1905D1693, OOPS-1905D889, OOPS-1905F1840, OOPS-1905G129

Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
Changed in launchpad:
assignee: nobody → Robert Collins (lifeless)
milestone: none → 11.04
tags: added: qa-needstesting
Changed in launchpad:
status: Triaged → Fix Committed
Revision history for this message
Robert Collins (lifeless) wrote :

4 seconds on qastaging - hot and cold. We can probably tune further but this is sufficient.

tags: added: qa-ok
removed: qa-needstesting
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.