Performance issue when deleting trusts
Bug #1935840 reported by
Jose Castro Leon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Undecided
|
Jose Castro Leon |
Bug Description
During a trust deletion, the backend will fetch all trusts belonging to the same trustor and find if there is any delegated trust based on the one we are deleting. So it can delete it as well.
If the backend list_trusts_
Just by passing the filter to the backend and filter out the trusts that have delegation, the api call takes around a second with no further increase in memory utilisation.
Changed in keystone: | |
assignee: | nobody → Jose Castro Leon (jose-castro-leon) |
To post a comment you must log in.
Fix proposed to branch: master /review. opendev. org/c/openstack /keystone/ +/800606
Review: https:/