yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #44376
[Bug 1445249] Re: Fix bad performance when editing domain members
Reviewed: https://review.openstack.org/177005
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=1ccc4dd14adfe85946ff87529db144330cac53ae
Submitter: Jenkins
Branch: master
commit 1ccc4dd14adfe85946ff87529db144330cac53ae
Author: Jingjing Ren <jingjing_ren@xxxxxxxxxxxx>
Date: Mon Apr 20 01:16:05 2015 +0000
Fix bad performance when editing domain members
Modify the Edit action use get_domain_user_roles API
instead of making a separate call for each user.
Change-Id: I9a37cf0d74b8a5ef6e1a6d4013a2b6826649f0c2
Related-Bug: #1365685
Closes-Bug: #1445249
** Changed in: horizon
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1445249
Title:
Fix bad performance when editing domain members
Status in OpenStack Dashboard (Horizon):
Fix Released
Bug description:
Closely related to bug #1365685. The same problem occurs in the Edit
action under Identity->Domains panel.
Function UpdateDomain.handle() uses API call user_list(), which
doesn't scale and causes Horizon to take a long time to update the
domain members. get_domain_users_roles() can be used here to improve
the performance.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1445249/+subscriptions
References