Source deletion can race with build publication and leave binaries forever

Bug #1629768 reported by William Grant
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
High
Unassigned

Bug Description

PublishingSet.requestDeletion on an SPPH can race with build publication and leave some of the source's BPPHs published forever. The misbehaviour occurs when an SPPH is deleted while at least one of its builds' PackageUploads is still in ACCEPTED, having been through process-upload but not yet process-accepted. The BPPHs don't yet exist, so won't be deleted, but once the publisher runs they will exist with Published and remain so until further manual intervention.

(The main negative consequence is repeated no-op republications of suites with affected sources (bug #685033). Pre-acceptance rejection was added as the fix for bug #684180, but this part of the race survived. Bug #528459 has similar consequences but occurs when a Superseded source leaves NBS binaries.)

William Grant (wgrant)
description: updated
Revision history for this message
William Grant (wgrant) wrote :

http://pastebin.ubuntu.com/23269289/ conservatively calculates affected BPPHs.

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.