Comment 9 for bug 1954662

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to neutron (master)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/825521
Committed: https://opendev.org/openstack/neutron/commit/6ea6fdd874eed70d8c103f6bc91783921c817cc8
Submitter: "Zuul (22348)"
Branch: master

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.

    Related-Bug: #1954662
    Change-Id: I50bab57830ce4c1d123b2cbd9d9832690bd4c8f9