OpenStack Common DB Code
Go to file
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
doc Remove legacy calling style of select() 2021-07-29 16:37:44 +01:00
oslo_db exc_filters: Handle OperationalError for MariaDB/Galera 2024-03-15 02:16:17 +00:00
releasenotes Merge "reno: Update master for unmaintained/xena" 2024-03-12 14:32:08 +00:00
tools tox: Simplify test running 2021-07-16 13:01:45 +01:00
.coveragerc Fix coverage configuration and execution 2015-10-08 17:29:42 -04:00
.gitignore Merge "gitignore: Add reno artefacts" 2020-02-17 17:02:05 +00:00
.gitreview OpenDev Migration Patch 2019-04-19 19:34:34 +00:00
.mailmap Fix the graduate.sh script result 2014-04-18 11:33:16 +03:00
.pre-commit-config.yaml Bump hacking (again) 2024-01-26 10:00:50 +09:00
.stestr.conf Switch to stestr 2018-07-13 10:18:54 +07:00
.zuul.yaml Fix zuul config warning 2023-11-25 12:00:05 +09:00
CONTRIBUTING.rst Align contributing doc with oslo's policy 2020-05-04 18:22:54 +02:00
HACKING.rst Update URLs according to document migration 2017-07-11 22:28:01 +08:00
LICENSE Fix the graduate.sh script result 2014-04-18 11:33:16 +03:00
README.rst Replace git.openstack.org URLs with opendev.org URLs 2019-04-23 05:29:23 +00:00
bindep.txt bindep: Use new mysql-* package names 2023-09-08 12:18:46 +01:00
requirements.txt Bump hacking 2024-01-16 22:24:57 +09:00
setup.cfg Update python classifier in setup.cfg 2024-01-11 16:18:27 -08:00
setup.py remove outdated header 2020-02-10 18:32:50 +01:00
test-requirements.txt Bump hacking 2024-01-16 22:24:57 +09:00
tox.ini Display coverage report 2024-02-07 12:13:08 +09:00

README.rst

Team and repository tags

image

oslo.db -- OpenStack Database Pattern Library

Latest Version

Downloads

The oslo db (database) handling library, provides database connectivity to different database backends and various other helper utils.