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/122146 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=5d5970a77a7 9a11864363d8e3e 4fd66862157d19
Committed: https:/
Submitter: Jenkins
Branch: stable/icehouse
commit 5d5970a77a79a11 864363d8e3e4fd6 6862157d19
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