OpenStack Common DB Code
Go to file
melanie witt 8620d4d3af 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 8e1f869910)
(cherry picked from commit 3a314786ac)
(cherry picked from commit 8fb36e949d)
(cherry picked from commit be0515daa2)
2024-03-18 21:59:32 +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-18 21:59:32 +00:00
releasenotes Imported Translations from Zanata 2022-06-21 03:48:25 +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 Update .gitreview for stable/zed 2022-09-09 09:16:32 +00:00
.mailmap Fix the graduate.sh script result 2014-04-18 11:33:16 +03:00
.pre-commit-config.yaml update the pre-commit-hooks version 2021-05-18 03:05:44 +00:00
.stestr.conf Switch to stestr 2018-07-13 10:18:54 +07:00
.zuul.yaml Add Python3 zed unit tests 2022-03-04 17:18:01 +00: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 Add libpq-dev to bindep.txt 2019-08-09 22:48:06 +00:00
requirements.txt requirements: Bump sqlalchemy lower constraint 2021-08-16 12:24:58 +01:00
setup.cfg Drop python3.6/3.7 support in testing runtime 2022-05-05 16:14:59 +02:00
setup.py remove outdated header 2020-02-10 18:32:50 +01:00
test-requirements.txt Adding pre-commit 2020-09-22 12:32:18 +02:00
tox.ini Update TOX_CONSTRAINTS_FILE for stable/zed 2022-09-09 09:16:34 +00: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.