Comment 28 for bug 1918145

Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :

Hi Leduc:

Sorry, I don't know what patch are you talking about. Is it [1]?

In any case, [1] should not be necessary if [2] is in place. If all RBAC registers have "target_tenant" and "action" as indexes, the query speed in "query_with_hooks" should be improved because all comparisons are against indexed columns.

BTW, you can't backport this patch to Ussuri but create manually the indexes in the DB and add the definitions manually in the code. It is not possible to backport a DB migration in Neutron.

Regards.

[1]https://bugs.launchpad.net/neutron/+bug/1918145/+attachment/5501805/+files/preliminary-neutron-rbac-perf.patch
[2]https://review.opendev.org/c/openstack/neutron/+/810072