Merge lp:~wgrant/launchpad/buildd-manager-handoff into lp:launchpad
Proposed by
William Grant
on 2015-02-19
| Status: | Merged |
|---|---|
| Merged at revision: | 17349 |
| Proposed branch: | lp:~wgrant/launchpad/buildd-manager-handoff |
| Merge into: | lp:launchpad |
| Prerequisite: | lp:~wgrant/launchpad/buildd-manager-robustification |
| Diff against target: |
226 lines (+64/-28) 5 files modified
lib/lp/archiveuploader/tests/test_uploadprocessor.py (+30/-7) lib/lp/archiveuploader/uploadprocessor.py (+14/-3) lib/lp/buildmaster/model/buildfarmjobbehaviour.py (+17/-12) lib/lp/buildmaster/tests/test_manager.py (+1/-3) lib/lp/translations/model/translationtemplatesbuildbehaviour.py (+2/-3) |
| To merge this branch: | bzr merge lp:~wgrant/launchpad/buildd-manager-handoff |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Colin Watson | 2015-02-19 | Approve on 2015-02-19 | |
|
Review via email:
|
|||
Commit Message
Hand builds off from buildd-manager to process-upload atomically. UPLOADING is only set as the BuildQueue is destroyed, and binary uploads for invalid statuses are failed rather than ignored.
Description of the Change
Hand builds off from buildd-manager to process-upload atomically. buildd-manager now only sets UPLOADING in the same transaction as the BuildQueue destruction, ensuring that process-upload doesn't touch the build until buildd-manager is guaranteed to never touch it again. process-upload also now fails any upload that has a build which is neither BUILDING nor UPLOADING, as that would indicate a bug.
To post a comment you must log in.
review:
Approve
