Merge "db: retry instance_info_cache_update() on deadlock"
This commit is contained in:
commit
694422750e
@ -3008,6 +3008,7 @@ def instance_info_cache_get(context, instance_uuid):
|
||||
|
||||
|
||||
@require_context
|
||||
@oslo_db_api.wrap_db_retry(max_retries=5, retry_on_deadlock=True)
|
||||
@pick_context_manager_writer
|
||||
def instance_info_cache_update(context, instance_uuid, values):
|
||||
"""Update an instance info cache record in the table.
|
||||
|
Loading…
Reference in New Issue
Block a user