summaryrefslogtreecommitdiffstats
path: root/nova/openstack
diff options
context:
space:
mode:
authorJohannes Erdfelt <johannes.erdfelt@rackspace.com>2012-10-02 17:55:00 +0000
committerJohannes Erdfelt <johannes.erdfelt@rackspace.com>2012-10-02 17:55:00 +0000
commit6bc8c20be705f3cf704b5103e8bb998015d14248 (patch)
tree2bd585d32c61826c2781184014f0a0e42356d3f0 /nova/openstack
parent0291266fb61dd398147fa2ae1a37366dd2fa869e (diff)
downloadnova-6bc8c20be705f3cf704b5103e8bb998015d14248.tar.gz
nova-6bc8c20be705f3cf704b5103e8bb998015d14248.tar.xz
nova-6bc8c20be705f3cf704b5103e8bb998015d14248.zip
Make resource tracker uses faster DB query
Fixes bug 1060363 db.instance_get_all_by_filters() uses a regex when filtering on host, which will do a full table scan. A regex isn't needed and instead, db.instance_get_all_by_host() can be used which does not impact the performance so much. Change-Id: I812e1d5320763e5c65232351e1e21285e04e6a4b
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions