Merge lp:~gmb/launchpad/hook-up-stored-proc-boom-bug-585803 into lp:launchpad/db-devel
| Status: | Merged |
|---|---|
| Approved by: | Graham Binns on 2010-05-27 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 9414 |
| Proposed branch: | lp:~gmb/launchpad/hook-up-stored-proc-boom-bug-585803 |
| Merge into: | lp:launchpad/db-devel |
| Prerequisite: | lp:~gmb/launchpad/stored-proc-for-bug-heat-bug-582195 |
| Diff against target: |
532 lines (+155/-198) 5 files modified
database/schema/trusted.sql (+2/-1) lib/canonical/launchpad/scripts/garbo.py (+22/-31) lib/lp/bugs/doc/bug-heat.txt (+114/-50) lib/lp/bugs/model/bug.py (+17/-14) lib/lp/bugs/tests/test_bugheat.py (+0/-102) |
| To merge this branch: | bzr merge lp:~gmb/launchpad/hook-up-stored-proc-boom-bug-585803 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Curtis Hovey (community) | rc | Approve on 2010-05-27 | |
| Abel Deuring (community) | code | 2010-05-27 | Approve on 2010-05-27 |
|
Review via email:
|
|||
Commit Message
Bug heat is now updated directly rather than relying on CalculateBugHeatJob creation.
Description of the Change
This branch converts all current sites where CalculateBugHea
I've removed all CalculateBugHeatJob creation callsites (except in tests, which I'll remove in a subsequent branch along with all the CalculateBugHeatJob infrastructure) and I've updated the BugHeatUpdater garbo job to call the calculate_
I've also removed the tests that covered the callsites that I've removed.
| Curtis Hovey (sinzui) wrote : | # |
This is good to land and you have my RC to ensure this landed even if ec2 runs slowly.

Hi Graham,
we discussed that it would be better to update the heat values in chunks, with initial chunk size of 1000. I like your implementation as in http:// pastebin. ubuntu. com/440470/
thanks for finally fixing the heat updater!