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.
Closes-Bug: #1475218
Change-Id: Ib354074e6a3f68cedb95fd774f905d94ca16a830
(cherry picked from commit 435ffa7c67cf8668063588e2af760c1ff595dfbb)
Reviewed: https:/ /review. openstack. org/202461 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=bcb4d237a79 be9af18f1bcc792 e1827c18b058d2
Committed: https:/
Submitter: Jenkins
Branch: feature/qos
commit bcb4d237a79be9a f18f1bcc792e182 7c18b058d2
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 8063588e2af760c 1ff595dfbb)
Change-Id: Ib354074e6a3f68
(cherry picked from commit 435ffa7c67cf866