Reload bug watches in bulk in checkwatches

Bug #572211 reported by Gavin Panella on 2010-04-30
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
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) on 2010-05-19
Changed in malone:
status: In Progress → Fix Committed
Changed in malone:
milestone: none → 10.05
tags: added: qa-needstesting
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) on 2010-06-02
Changed in malone:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers