diff options
| author | Hans Lindgren <hanlind@kth.se> | 2013-04-17 15:52:56 +0200 |
|---|---|---|
| committer | Hans Lindgren <hanlind@kth.se> | 2013-05-08 15:10:17 +0200 |
| commit | 0f56d8ddb02f54ae389380dcd0790e55f2dcb479 (patch) | |
| tree | 8cdcb69a616ea10b75390c2c8fb30ba5905a83c0 /nova/openstack | |
| parent | 36b10384724fec9657784980cd2bd38e72b445bc (diff) | |
| download | nova-0f56d8ddb02f54ae389380dcd0790e55f2dcb479.tar.gz nova-0f56d8ddb02f54ae389380dcd0790e55f2dcb479.tar.xz nova-0f56d8ddb02f54ae389380dcd0790e55f2dcb479.zip | |
Optimize instance queries in compute manager
Some instance queries against the db through the conductor can be
optimized to return a reduced set of instances as needed for the job
at hand. Most of these are part of periodic tasks, so the win is
kind of big.
Compute methods where queries can be made more efficient:
_get_instances_on_driver
_poll_rebooting_instances
_poll_rescued_instances
_reclaim_queued_deletes
_run_image_cache_manager_pass
Resolves bug 1169970.
Change-Id: I7c2fab48944e34765b3fff8ce10bc64a5cd826c8
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
