Add the _retry_on_deadlock decorator to the service_update() method of
nova's sqlalchemy API. This decorator is scattered throughout the
sqlalchemy API for other methods that may encounter this error. The
referenced bug report shows a trace from where it occurred on this
method.
Change-Id: I93b370d6457d2e85493be01a62a76404d228a6fa
Closes-bug: #1370191
(cherry picked from commit 61d54f2652424279af81c4084e87651044fac4bd)
Reviewed: https:/ /review. openstack. org/122147 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=a35a9fd9122 b1a2972e032b2f7 7a73c81e8c47bc
Committed: https:/
Submitter: Jenkins
Branch: stable/havana
commit a35a9fd9122b1a2 972e032b2f77a73 c81e8c47bc
Author: Russell Bryant <email address hidden>
Date: Tue Sep 16 18:10:47 2014 +0000
db: Add @_retry_on_deadlock to service_update()
Add the _retry_on_deadlock decorator to the service_update() method of
nova's sqlalchemy API. This decorator is scattered throughout the
sqlalchemy API for other methods that may encounter this error. The
referenced bug report shows a trace from where it occurred on this
method.
Change-Id: I93b370d6457d2e 85493be01a62a76 404d228a6fa 9af81c4084e8765 1044fac4bd)
Closes-bug: #1370191
(cherry picked from commit 61d54f265242427