nova/nova/db
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
..
sqlalchemy Add retry_on_deadlock to migration_update DB API 2020-03-05 14:05:33 +00:00
__init__.py Use nova.db.api directly 2018-07-10 14:56:27 +00:00
api.py Remove remaining legacy DB API instance_group* methods 2018-06-27 13:24:42 -04:00
base.py Use nova.db.api directly 2018-07-10 14:56:27 +00:00
constants.py Move db MAX constants to own file 2018-03-01 11:09:29 +00:00
migration.py Manage db sync command for cell0 2016-08-22 18:53:45 +03:00