Reload bug watches in bulk in checkwatches

Bug #572211 reported by Gavin Panella
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Gavin Panella

Bug Description

checkwatches hops in and out of database transactions a *lot*, for good reasons, but it also means that the database objects it has loaded from Storm need to be reloaded in every transaction. Storm takes care of this, but it reloads each object in turn, one at a time. If you have several hundred or thousand objects this can be punishing to the database, and can even end up dead at the hands of the transaction killer. It would be good to be able to reload objects in bulk.

Related branches

Gavin Panella (allenap)
Changed in malone:
status: In Progress → Fix Committed
Revision history for this message
Ursula Junque (ursinha) wrote : Bug fixed by a commit
Changed in malone:
milestone: none → 10.05
tags: added: qa-needstesting
Revision history for this message
Graham Binns (gmb) wrote :

Marked this untestable since it's all internals; passing the test suite is enough for now.

tags: added: qa-untestable
removed: qa-needstesting
Curtis Hovey (sinzui)
Changed in malone:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.