Comment 7 for bug 2057987

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to oslo.db (stable/2024.1)

Reviewed: https://review.opendev.org/c/openstack/oslo.db/+/913600
Committed: https://opendev.org/openstack/oslo.db/commit/3a314786ac6f0d4a153ad9c5adc0b283ef7eb7fa
Submitter: "Zuul (22348)"
Branch: stable/2024.1

commit 3a314786ac6f0d4a153ad9c5adc0b283ef7eb7fa
Author: melanie witt <email address hidden>
Date: Fri Mar 15 01:19:55 2024 +0000

    exc_filters: Handle OperationalError for MariaDB/Galera

    Currently InternalError is being handled for detecting MariaDB/Galera
    deadlocks but recently we have seen a variant that raises
    OperationalError instead. Because it's not being detected, usage of the
    @retry_on_deadlock decorator is not performing retries in those cases.

    This adds handling of OperationalError for detecting this deadlock.

    Closes-Bug: #2057987

    Change-Id: I6ff3667b35ea38a2d3c258f810a55eda9abe465e
    (cherry picked from commit 8e1f869910e2fee3d567565b28b9cd520b07bacf)