8fb36e949d3f01bb5f69596828211800525136ee
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 commit8e1f869910) (cherry picked from commit3a314786ac)
Team and repository tags
oslo.db -- OpenStack Database Pattern Library
The oslo db (database) handling library, provides database connectivity to different database backends and various other helper utils.
- Free software: Apache license
- Documentation: https://docs.openstack.org/oslo.db/latest
- Source: https://opendev.org/openstack/oslo.db
- Bugs: https://bugs.launchpad.net/oslo.db
- Release notes: https://docs.openstack.org/releasenotes/oslo.db/
Description
Languages
Python
99.6%
Shell
0.4%