nova/nova/db
Matt Riedemann f223c443b5 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)
(cherry picked from commit 1f83d773a4)
2020-03-11 01:22:01 +00:00
..
sqlalchemy Add retry_on_deadlock to migration_update DB API 2020-03-11 01:22:01 +00:00
__init__.py Remove vi modelines 2014-02-03 14:19:44 +00:00
api.py Add cross cell sort support for get_migrations 2018-01-09 15:34:03 -05:00
base.py config options: centralize section "database" + "api_database" 2016-05-16 10:20:51 +00:00
migration.py Manage db sync command for cell0 2016-08-22 18:53:45 +03:00