The previously added decorators to the create and update handlers
in the API layer only applied to actions that followed the standard
create/update path. However, for API operations like add_router_interface,
a different path is followed that wasn't covered by a retry decorator.
This patch adds the decorator to handle deadlocks in those operations as
well.
Reviewed: https:/ /review. openstack. org/202449 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=d04335c448a a15cf9e1902e22e d4cd17b6ed344b
Committed: https:/
Submitter: Jenkins
Branch: master
commit d04335c448aa15c f9e1902e22ed4cd 17b6ed344b
Author: Kevin Benton <email address hidden>
Date: Thu Jul 16 02:07:48 2015 -0700
Add oslo db retry decorator to non-CRUD actions
The previously added decorators to the create and update handlers interface,
in the API layer only applied to actions that followed the standard
create/update path. However, for API operations like add_router_
a different path is followed that wasn't covered by a retry decorator.
This patch adds the decorator to handle deadlocks in those operations as
well.
Closes-Bug: #1475218 cedb95fd774f905 d94ca16a830
Change-Id: Ib354074e6a3f68