diff options
author | Dan Prince <dprince@redhat.com> | 2012-06-26 12:44:35 -0400 |
---|---|---|
committer | Dan Prince <dprince@redhat.com> | 2012-07-11 10:23:58 -0400 |
commit | 034762e8060dcf0a11cb039b9d426b0d0bb1801d (patch) | |
tree | 8bc19c85fdff5a62552b5d42536a28e661c14db9 /nova/notifications.py | |
parent | b91d2fc02d927066ed0fe21439ccb7548de4138f (diff) | |
download | nova-034762e8060dcf0a11cb039b9d426b0d0bb1801d.tar.gz nova-034762e8060dcf0a11cb039b9d426b0d0bb1801d.tar.xz nova-034762e8060dcf0a11cb039b9d426b0d0bb1801d.zip |
Use compute_api.get_all in affinity filters.
Updates the affinity filters so they make a single compute API
call to lookup instance host information rather than single
lookups for each UUID.
This resolves a potential performance issue which can cause a
scheduler to hang while processing requests which contain large numbers
of UUID's in the scheduler_hints.
Fixes LP Bug #1017795.
Change-Id: I30f434faf109058573ee41c4a6abce2e48939e8d
Diffstat (limited to 'nova/notifications.py')
0 files changed, 0 insertions, 0 deletions