Merge "Add retry_on_deadlock to migration_update DB API" into stable/queens

This commit is contained in:
Zuul 2020-03-12 08:07:07 +00:00 committed by Gerrit Code Review
commit 78e53bd388
1 changed files with 1 additions and 0 deletions

View File

@ -4280,6 +4280,7 @@ def migration_create(context, values):
return migration
@oslo_db_api.wrap_db_retry(max_retries=5, retry_on_deadlock=True)
@pick_context_manager_writer
def migration_update(context, id, values):
migration = migration_get(context, id)