← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1028494] Re: Flavors list results not limited on database server-side

 

The only place where this is still a problem is the flavor api. This
would require adding limit and paging interfaces into it's db api, then
exposing them in the interface. Pretty straight forward, and worth doing
in H.

** Summary changed:

- Database results not limited on server-side
+ Flavors list results not limited on database server-side

** Changed in: nova
   Importance: Wishlist => Low

** Changed in: nova
    Milestone: None => havana-1

** Changed in: nova
       Status: Confirmed => Won't Fix

** Changed in: nova
       Status: Won't Fix => Triaged

** Tags added: low-hanging-fruit

-- 
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/1028494

Title:
  Flavors list results not limited on database server-side

Status in OpenStack Compute (Nova):
  Triaged

Bug description:
  while investigating the source of bug 1028465, I discovered to my
  chagrin that Nova's list results are not limited using the database
  query. Instead, nova.api.openstack.common.limited_by_marker is
  actually looping over the entire set of non-limited results from the
  database. This is incredibly inefficient. We should be passing marker
  and limit to the database query itself, like is done in Glance.

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