← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
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):
  New

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


Follow ups

References