commit 6ea6fdd874eed70d8c103f6bc91783921c817cc8
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Sun Jan 16 16:32:18 2022 +0000
Create a PeriodicWorker for DbQuotaNoLockDriver clean up
The "DbQuotaNoLockDriver" quota driver "Reservation" registers clean up
is done now in a "PeriodicWorker" spawned by ML2Plugin during the
initialization. The "Reservation" registers are no longer deleted
synchronously during the API calls.
That will prevent from possible database deadlocks when concurrent
delete operations clash (as seen in very busy systems, with more
then 500 parallel requests). Although those database deadlocks were
recoverable, this new implementation will avoid this by allowing
onle single thread to execute this command periodically.
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/825521 /opendev. org/openstack/ neutron/ commit/ 6ea6fdd874eed70 d8c103f6bc91783 921c817cc8
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 6ea6fdd874eed70 d8c103f6bc91783 921c817cc8
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Sun Jan 16 16:32:18 2022 +0000
Create a PeriodicWorker for DbQuotaNoLockDriver clean up
The "DbQuotaNoLockD river" quota driver "Reservation" registers clean up
is done now in a "PeriodicWorker" spawned by ML2Plugin during the
initialization. The "Reservation" registers are no longer deleted
synchronously during the API calls.
That will prevent from possible database deadlocks when concurrent
delete operations clash (as seen in very busy systems, with more
then 500 parallel requests). Although those database deadlocks were
recoverable, this new implementation will avoid this by allowing
onle single thread to execute this command periodically.
Related-Bug: #1954662 1d123b2cbd9d983 2690bd4c8f9
Change-Id: I50bab57830ce4c