← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1414905] Re: usage errors in joinedload + filter in agent schedulers

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1414905

Title:
  usage errors in joinedload + filter in agent schedulers

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  With the current coding, joinedload() produces a JOIN and
  the following filter() on the columns from the joined table
  would create another JOIN of the same table.  It doesn't seem
  to be the intended behaviour.  As a consequence the filter
  doesn't work as expected.

  see
  http://docs.sqlalchemy.org/en/rel_0_9/orm/loading_relationships.html
  #contains-eager

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


References