Merge "Add retry_on_deadlock to migration_update DB API"
This commit is contained in:
commit
e1d1422b5b
|
@ -4274,6 +4274,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)
|
||||
|
|
Loading…
Reference in New Issue