nova/nova/tests/unit/scheduler/client
Matt Riedemann 8921a470ee Avoid unnecessary joins in delete_resource_provider
If cascade=True, we're getting all of the instances on the
compute node just to use the uuid, which will by default
join on the info_cache and security_groups for the instances.
This is a simple optimization to avoid those unnecessary joins.

A TODO is left to further optimize this with a new InstanceList
query method to just get the instance uuids on a given host/node
combo, but that requires an RPC change which we can't backport.

Change-Id: Ie121210456a240c257979d3269db115ddae2d23b
Related-Bug: #1811726
Related-Bug: #1756179
2019-06-13 15:03:02 -04:00
..
__init__.py rt: isolate report and query sched client tests 2016-08-21 20:43:17 -04:00
test_query.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
test_report.py Avoid unnecessary joins in delete_resource_provider 2019-06-13 15:03:02 -04:00