Closed Bug 790895 Opened 13 years ago Closed 13 years ago

Switch off prefetching for Vagrant's initial import-buildbot-data.py run, to avoid prefetching the world

Categories

(Tree Management Graveyard :: TBPL, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: emorley)

References

Details

Attachments

(1 file)

At the moment, using TBPL's Vagrant project file causes an import of the last two days worth of results, which was fine up until the point where we started prefetching everything on import. We should add an option to import but not prefetch, so the initial Vagrant load doesn't take 15+ minutes (and time out with the default Vagrant settings; not that we want to raise them, since setting up the VM needs to be quick). The subsequent cron imports can then prefetch just new results.
Swatinem pointed out we can just use -w 0 :-)
Summary: Add option to import-buildbot-data.py to import without prefetching & use it for initial Vagrant provision → Switch off prefetching for Vagrant's initial import-buildbot-data.py run, to avoid prefetching the world
* Only imports 1 day, not 2 * Switches off prefetching for this import (the cron isn't affected) -> Reduces the initial 'Vagrant up' from 10-15 mins + (which times out) to a more manageable ~2 mins.
Assignee: nobody → bmo
Status: NEW → ASSIGNED
Landed with r=me since trivial and doesn't affect production. http://hg.mozilla.org/users/mstange_themasta.com/tinderboxpushlog/rev/bb3786ddf460
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Blocks: 788020
Depends on: 791282
Product: Webtools → Tree Management
Product: Tree Management → Tree Management Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: