IBuilder.updateBuild() needs to be asynchronous

Bug #611258 reported by Julian Edwards
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Low
Julian Edwards

Bug Description

The buildd-manager calls this method at the beginning of scanning each builder that is currently building something. It's currently synchronous, which means that it blocks everything else in the buildd-manager until it completes.

It would benefit from being converted to using Twisted Deffereds similar to the dispatch mechanism. Initially this can be a simple case of extending the RecordingSlave that the manager uses to wrap the normal (synchronous) slave class but ultimately we should ditch RecordingSlave and make the existing one entirely asynchronous.

Related branches

Changed in soyuz:
assignee: nobody → Julian Edwards (julian-edwards)
status: Triaged → In Progress
Brad Crittenden (bac)
tags: added: bad-commit-11801
Revision history for this message
Launchpad QA Bot (lpqabot) wrote : Bug fixed by a commit
Changed in soyuz:
milestone: none → 10.11
tags: added: qa-needstesting
Changed in soyuz:
status: In Progress → Fix Committed
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-ok
removed: qa-needstesting
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :

Fixed in stable r11815 (http://bazaar.launchpad.net/~launchpad-pqm/launchpad/stable/revision/11815) by a commit, but not testable.

tags: added: qa-untestable
removed: qa-ok
Revision history for this message
Robert Collins (lifeless) wrote :

Needs a deployment to the buildd-manager machine to fix-release this.

Revision history for this message
Launchpad QA Bot (lpqabot) wrote :

Fixed in stable r11815 (http://bazaar.launchpad.net/~launchpad-pqm/launchpad/stable/revision/11815) by a commit, but not testable.

tags: added: buildd-scalability
Changed in soyuz:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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