nova/nova/db
Mike Bayer 837411ad3f Add @_retry_on_deadlock to _instance_update()
This patch adds the @_retry_on_deadlock decorator
to _instance_update(), which has been observed to be
involved in some deadlock scenarios.  As it is the point
of transaction demarcation based on the presence of
get_session(), this is an appropriate point at which the
transaction can be re-attempted in the case of deadlock.

Change-Id: Id2cfdc129ea3cfc787b73f1f3e9aa286a7c0229a
Closes-bug: 1375467
Cherry-picked from: 68ed3c034b
2014-10-21 17:18:47 -04:00
..
sqlalchemy Add @_retry_on_deadlock to _instance_update() 2014-10-21 17:18:47 -04:00
__init__.py Remove vi modelines 2014-02-03 14:19:44 +00:00
api.py Add instance_extra_update_by_uuid() to DB API 2014-09-09 14:20:21 -04:00
base.py Add super call to db Base class 2014-02-04 22:29:01 +00:00
migration.py Remove vi modelines 2014-02-03 14:19:44 +00:00