← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1323770] Re: driver_hints.Hints implementation could be optimized

 

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

** Changed in: keystone
    Milestone: None => juno-1

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

Title:
  driver_hints.Hints implementation could be optimized

Status in OpenStack Identity (Keystone):
  Fix Released

Bug description:
  Throughout the code-base the Hints class was not actually being used as
  a list, as it was previously implemented. Besides this, the limit
  "filter" or attribute to filtering, was being included and used in a
  completely different way. So what this does is separate the logic to
  remove the need of iterating the whole filter list each time we need to
  use "limit", and treat it as a separate attribute inside the class.

  The implementation is slower than it needed to be due to the looping
  required to find hints.

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


References