octavia/octavia/controller/worker/v2/tasks
Gregory Thiemonge adb454b2e8 Optimize CountPoolChildrenForQuota task in amphorav2
The CountPoolChildrenForQuota task takes 3 or 4 seconds to execute in
amphorav2. When cascade deleting a load balancer with many pools (60),
it might take minutes.

We don't need to get and to convert all the fields from the object to
compute the number of children of a pool, we can optimize this task by
creating a new method in the PoolRepository class.

Story 2008873
Task 42414

Change-Id: Ie4d40509ae7e6faccecd1d0cc0bc4c7d93959261
(cherry picked from commit 7075d22c4c)
2021-05-17 09:37:15 +02:00
..
__init__.py Create Amphora V2 provider driver 2019-06-05 14:30:29 -07:00
amphora_driver_tasks.py Fix using subnets with host_routes in amphorav2 driver 2021-03-23 15:10:45 +01:00
cert_task.py Fix new pylint errors 2020-08-21 15:00:27 +02:00
compute_tasks.py Fix pep8 failures in gate 2020-11-12 16:46:36 -08:00
database_tasks.py Optimize CountPoolChildrenForQuota task in amphorav2 2021-05-17 09:37:15 +02:00
lifecycle_tasks.py Fix new pylint errors 2020-08-21 15:00:27 +02:00
network_tasks.py Fix LB failover for amphorav2: set security group 2021-03-22 18:13:15 +01:00
retry_tasks.py Update amphora v2 for the failover refactor 2020-09-03 11:48:14 +04:00