Comment 4 for bug 2057698

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

Reviewed: https://review.opendev.org/c/openstack/neutron/+/912629
Committed: https://opendev.org/openstack/neutron/commit/27b2f22df10e6e41c6fc4e1ce7f839aeb3dc3e13
Submitter: "Zuul (22348)"
Branch: master

commit 27b2f22df10e6e41c6fc4e1ce7f839aeb3dc3e13
Author: Sebastian Lohff <email address hidden>
Date: Tue Mar 12 19:34:17 2024 +0100

    Don't delete already deleted extra router routes

    When handling the deletion of extra routes we need to handle the case
    that the route is already deleted by another call in the time we have
    fetched the extra routes and try to delete it. This is a classic race
    condition when two calls try to update the routes of a router at the
    same time. The default MariaDB/MySQL transaction isolation level does
    not suffice to prevent this scenario. Directly deleting the route
    without fetching it solves this problem.

    Change-Id: Ie8238310569eb7c1c53296195800bef5c9cb92a3
    Closes-Bug: #2057698