yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #11175
[Bug 1277068] Re: Multiple db calls in some quota methods
** Changed in: oslo
Status: Fix Committed => Fix Released
--
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/1277068
Title:
Multiple db calls in some quota methods
Status in OpenStack Compute (Nova):
Fix Released
Status in Oslo - a Library of Common OpenStack Code:
Fix Released
Bug description:
in nova/quota.py
db.quota_get_all_by_project is called twice in method limit_check(): https://github.com/openstack/nova/blob/master/nova/quota.py#L356 and
reserve(): https://github.com/openstack/nova/blob/master/nova/quota.py#L424
db.quota_get_all_by_project_and_user is called twice in method
get_settable_quotas():
https://github.com/openstack/nova/blob/master/nova/quota.py#L272
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1277068/+subscriptions
References