Retry DB transactions on deadlock

Registered by Daniel Givens on 2014-02-21

Currently, when a database write transaction is aborted due to a deadlock, Heat will fail on the transaction and data could be lost. Adding a retry on deadlock would resolve this issue. Nova has solved this issue by implementing a decorator to retry on deadlock.

https://review.openstack.org/#/c/22276/3/nova/db/sqlalchemy/api.py

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Daniel Givens
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.