commit 69ade1064c15f63b66906e97e95122926d6e4775
Author: John Griffith <email address hidden>
Date: Fri Aug 1 17:10:55 2014 -0600
Add retry_on_deadlock to db update methods
There's some known races that have been addressed in
Nova via a retry_on_deadlock deocrator. Some known
cases in Cinder exist as well when dealing with updates
to quotas and reservations_expire.
This patch introduces the decorator to Cinder and hits
the methods known to be susceptible to deadlock as well
as some others that seem as though they'd fall into the
same category.
Reviewed: https:/ /review. openstack. org/112418 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=69ade1064c1 5f63b66906e97e9 5122926d6e4775
Committed: https:/
Submitter: Jenkins
Branch: stable/icehouse
commit 69ade1064c15f63 b66906e97e95122 926d6e4775
Author: John Griffith <email address hidden>
Date: Fri Aug 1 17:10:55 2014 -0600
Add retry_on_deadlock to db update methods
There's some known races that have been addressed in expire.
Nova via a retry_on_deadlock deocrator. Some known
cases in Cinder exist as well when dealing with updates
to quotas and reservations_
This patch introduces the decorator to Cinder and hits
the methods known to be susceptible to deadlock as well
as some others that seem as though they'd fall into the
same category.
Leverages work that's already been done in Nova
Co-Authored-By: Vish Ishaya <email address hidden>
Change-Id: Ic807f4f8a333e4 d5477f86e41eea4 0191637087c 456ef5daf1eca2e d3b64fca85)
Partial-bug: #1350466
(cherry picked from commit 201adf31a57ea4d