← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1784604] [NEW] Redundant join in _anchors_for_sharing_providers

 

Public bug reported:

There is a redundant join when we want to get id from
_anchors_for_sharing_providers. The last outerjoin is used to get the
rp.UUID according rp.id [1], if we set get_id=True, we no longer need
this outer join.

[1]
https://github.com/openstack/nova/blob/3ce7fa5/nova/api/openstack/placement/objects/resource_provider.py#L476-L479

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1784604

Title:
  Redundant join in  _anchors_for_sharing_providers

Status in OpenStack Compute (nova):
  New

Bug description:
  There is a redundant join when we want to get id from
  _anchors_for_sharing_providers. The last outerjoin is used to get the
  rp.UUID according rp.id [1], if we set get_id=True, we no longer need
  this outer join.

  [1]
  https://github.com/openstack/nova/blob/3ce7fa5/nova/api/openstack/placement/objects/resource_provider.py#L476-L479

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1784604/+subscriptions


Follow ups