← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1764282] Re: Multiple times retrieve information of project_id in Delete domain

 

Reviewed:  https://review.openstack.org/589027
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=44da48f013881e87f8ac099cf7462d00d804ddd3
Submitter: Zuul
Branch:    master

commit 44da48f013881e87f8ac099cf7462d00d804ddd3
Author: wangxiyuan <wangxiyuan@xxxxxxxxxx>
Date:   Mon Aug 6 15:05:25 2018 +0800

    Remove redundant get_project call
    
    This patched removed some redundant "get_project" calls when
    deleting projects/domains.
    
    Change-Id: Ife4dd18962077bac30fa1cecf7621cc86a62929c
    Closes-bug: #1764282


** Changed in: keystone
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1764282

Title:
  Multiple times retrieve information of project_id in  Delete domain

Status in OpenStack Identity (keystone):
  Fix Released

Bug description:
  In Delete domain usecase, Redundant SQL queries are getting executed, which can lead to performance delay.
  In Delete domain use case, select query is executed multiple times to retrieve information of project_id. This must be reduced to enhance the performance.

  Code change is required for handling the redundant SQL queries.
  There is a need to change the code in keystone/token/backends.sql.py so that the extra queries will be removed.

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


References