nova/nova/db/sqlalchemy
Matt Riedemann 1f83d773a4 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)
(cherry picked from commit 99b3f44eb1)
2020-03-05 14:05:33 +00:00
..
api_migrations Merge "Add queued for delete to instance_mappings table." 2018-07-11 21:32:30 +00:00
migrate_repo Add trusted_certs to instance_extra 2018-03-29 23:00:42 -04: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 2020-03-05 14:05:33 +00:00
api_models.py Online data migration for queued_for_delete flag 2018-07-23 14:48:18 -07:00
migration.py Isolate placement database config 2018-06-19 13:22:04 +01:00
models.py Add trusted_certs to instance_extra 2018-03-29 23:00:42 -04: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