Merge lp:~cjwatson/launchpad/bzr-svn-worker-store-cache into lp:launchpad
Status: | Merged |
---|---|
Merged at revision: | 18874 |
Proposed branch: | lp:~cjwatson/launchpad/bzr-svn-worker-store-cache |
Merge into: | lp:launchpad |
Diff against target: |
184 lines (+93/-9) 3 files modified
lib/lp/codehosting/codeimport/tarball.py (+7/-4) lib/lp/codehosting/codeimport/tests/test_worker.py (+46/-1) lib/lp/codehosting/codeimport/worker.py (+40/-4) |
To merge this branch: | bzr merge lp:~cjwatson/launchpad/bzr-svn-worker-store-cache |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
William Grant | code | Approve | |
Review via email: mp+362757@code.launchpad.net |
Commit message
Store bzr-svn's cache in the import data store.
Description of the change
We really shouldn't be storing persistent state (even if only caches) on individual importds. The last time we brought up new importds, they took ages to clear their initial queue because they had to populate ~/.bazaar/
The last figure I saw for the total size of the cache across all imports was 42G or so, which isn't quite trivial, but maple seems to have plenty of space so it shouldn't be a problem.