Browse Source

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

changes/32/713132/1
Zuul 3 months ago
committed by Gerrit Code Review
parent
commit
78e53bd388
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      nova/db/sqlalchemy/api.py

+ 1
- 0
nova/db/sqlalchemy/api.py 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)


Loading…
Cancel
Save