nova/nova/db/sqlalchemy
Matt Riedemann 99b3f44eb1 Add retry_on_deadlock to migration_update DB API
Lots of different things can be updating the same migration
record at the same time (different computes, the API, etc)
and we see DBDeadlock errors on migration_update at times
(and operators that do a lot of migrations have mentioned it
also) so this change simply adds the retry_on_deadlock decorator
to the migration_update DB API method.

Change-Id: I98bbe96e4be5326e18ef2c2ac50c0d24993d52ec
Closes-Bug: #1642537
(cherry picked from commit 74f9bba9c7)
2019-03-28 14:46:12 +00:00
..
api_migrations Add user_id column to the instance_mappings table 2019-03-07 16:33:58 -05:00
migrate_repo Update mailinglist from dev to discuss 2018-12-05 09:44:35 +08:00
__init__.py Remove SQLite BigInteger/Integer translation logic 2015-12-07 12:49:22 -05:00
api.py Add retry_on_deadlock to migration_update DB API 2019-03-28 14:46:12 +00:00
api_models.py Add user_id column to the instance_mappings table 2019-03-07 16:33:58 -05:00
migration.py Isolate placement database config 2018-06-19 13:22:04 +01:00
models.py Merge "Add volume_type field to BlockDeviceMapping object" 2018-10-12 05:54:20 +00:00
types.py Use is_valid_cidr and is_valid_ipv6_cidr from oslo_utils 2017-01-31 11:45:00 +00:00
utils.py Remove translation of log messages 2017-07-18 09:03:39 +00:00