oslo.db/oslo_db/sqlalchemy
melanie witt 8e1f869910 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
2024-03-15 02:16:17 +00:00
..
compat Use SQLAlchemy native pre-ping 2023-04-06 14:55:03 +01:00
migration_cli Remove sqlalchemy-migrate 2023-03-21 13:59:26 -04:00
__init__.py Move files out of the namespace package 2014-12-24 13:28:48 +02:00
enginefacade.py Remove MySQL NDB Cluster Support 2023-07-20 11:16:22 +01:00
engines.py Remove MySQL NDB Cluster Support 2023-07-20 11:16:22 +01:00
exc_filters.py exc_filters: Handle OperationalError for MariaDB/Galera 2024-03-15 02:16:17 +00:00
models.py Remove use of Session.begin.subtransactions flag 2021-08-10 17:43:22 +01:00
orm.py Remove the 'Session.autocommit' parameter 2022-02-08 14:46:42 +00:00
provision.py Remove logic for SQLAlchemy < 1.4 2023-04-17 10:17:44 +01:00
session.py turn on warning-is-error in doc build 2017-07-03 11:28:14 +00:00
test_base.py Remove legacy base test classes 2023-03-22 15:05:24 +00:00
test_fixtures.py Add release note for base test class removal 2023-04-17 13:34:40 +01:00
test_migrations.py Handle server default quoting 2023-06-14 16:08:47 -07:00
types.py Remove MySQL NDB Cluster Support 2023-07-20 11:16:22 +01:00
update_match.py Get test suite to full pass with SQLAlchemy 2.0 2023-04-06 14:54:40 +01:00
utils.py Remove MySQL NDB Cluster Support 2023-07-20 11:16:22 +01:00