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.
Reviewed: https:/ /review. openstack. org/121940 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=61d54f26524 24279af81c4084e 87651044fac4bd
Committed: https:/
Submitter: Jenkins
Branch: master
commit 61d54f265242427 9af81c4084e8765 1044fac4bd
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
Closes-bug: #1370191