← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1942863] [NEW] Improve "neutron_lib.db.model_query.get_collection_count" method

 

Public bug reported:

Same as in [1], the object count query should use a simpler SQL query
instead of retrieving the full OVO objects. This goal of this bug is to
provide a kwarg to pass a model field. The SQL query will retrieve only
this field form the table register, avoiding most of the joined and
nested queries.

[1]https://bugs.launchpad.net/neutron/+bug/1925528

** Affects: neutron
     Importance: Low
     Assignee: Rodolfo Alonso (rodolfo-alonso-hernandez)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Rodolfo Alonso (rodolfo-alonso-hernandez)

** Changed in: neutron
   Importance: Undecided => Low

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

Title:
  Improve "neutron_lib.db.model_query.get_collection_count" method

Status in neutron:
  New

Bug description:
  Same as in [1], the object count query should use a simpler SQL query
  instead of retrieving the full OVO objects. This goal of this bug is
  to provide a kwarg to pass a model field. The SQL query will retrieve
  only this field form the table register, avoiding most of the joined
  and nested queries.

  [1]https://bugs.launchpad.net/neutron/+bug/1925528

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



Follow ups