Merge lp://qastaging/~brendan-donegan/hwcert-tools/datacenter_batching into lp://qastaging/~hardware-certification/hwcert-tools/reporting-tools
Proposed by
Brendan Donegan
Status: | Merged |
---|---|
Approved by: | Daniel Manrique |
Approved revision: | 122 |
Merged at revision: | 122 |
Proposed branch: | lp://qastaging/~brendan-donegan/hwcert-tools/datacenter_batching |
Merge into: | lp://qastaging/~hardware-certification/hwcert-tools/reporting-tools |
Diff against target: |
31 lines (+11/-10) 1 file modified
certification_reports/certification_report.py (+11/-10) |
To merge this branch: | bzr merge lp://qastaging/~brendan-donegan/hwcert-tools/datacenter_batching |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel Manrique (community) | Approve | ||
Review via email:
|
Description of the change
Originally we were retrieving all of the datacenter info in one batch, which worked okay for a while - however with an ever growing dataset we ran into problems processing it and started getting 502 errors from c3. This merge request basically fetches a datacenter at a time to try and avoid this issue.
To post a comment you must log in.
Are datacentres guaranteed to not have holes? i.e. what happens if datacentre 3 gets deleted? If I'm reading this correctly, in that case it would only fetch 1-2, and forget about 4 and above.
This is unlikely to happen so I'll approve anyway, if you think this will be an issue we can fix it later.