publish-ftpmaster script runs publisher too many times

Bug #824553 reported by Julian Edwards on 2011-08-11
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
High
Jeroen T. Vermeulen

Bug Description

When publishing a distroseries "DSN" for the first time, the publish-ftpmaster script does this:

1. notices release pocket has no indexes, and runs publish-distro.py -A -s DSN
2. notices backports pocket has no indexes, and runs publish-distro.py -A -s DSN-backports
3. notices updates pocket has no indexes, and runs publish-distro.py -A -s DSN-updates
....
and so on.

Instead it should invoke publish-distro.py with one "-s" argument for each suite so that publish-distro runs once and does all the work in one go.

The reason for this is because each run also tries to put files in the pool and do domination. This is very wasteful of CPU.

Related branches

Changed in launchpad:
status: New → In Progress
importance: Undecided → High
tags: added: derivation
Changed in launchpad:
status: In Progress → Triaged
Changed in launchpad:
assignee: nobody → Jeroen T. Vermeulen (jtv)
Changed in launchpad:
status: Triaged → In Progress
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
tags: added: qa-ok
removed: qa-needstesting
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
William Grant (wgrant) on 2011-08-23
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  Edit
Everyone can see this information.

Other bug subscribers