commit acb1dfb7632717abac41a61bc81100f2d62c0845
Author: Kevin Benton <email address hidden>
Date: Wed Mar 15 12:42:33 2017 -0700
Use correct retry mechanism in tags
This replaces wrap_db_retry with
neutron.db.api.retry_if_session_inactive() in the tags
plugin.
wrap_db_retry is missing a bunch of exception types we
can encounter and are expected to retry in normal database
operations in Neutron (e.g. staledataerror in the bug report).
This patch doesn't include a unit test because there is already
quite a bit of coverage ensuring the decorator handles these types
of exceptions.
Conflicts:
neutron/services/tag/tag_plugin.py
Closes-Bug: #1673243
Change-Id: I65b10ee54301401cd4525152a82a604ac8744582
(cherry picked from commit 44b6fcb4d26eaa5e28f147d903482f8fdd37d911)
(cherry picked from commit 185d3728352a684c14d97c5100f664ed313f75be)
Reviewed: https:/ /review. openstack. org/460911 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=acb1dfb7632 717abac41a61bc8 1100f2d62c0845
Committed: https:/
Submitter: Jenkins
Branch: stable/newton
commit acb1dfb7632717a bac41a61bc81100 f2d62c0845
Author: Kevin Benton <email address hidden>
Date: Wed Mar 15 12:42:33 2017 -0700
Use correct retry mechanism in tags
This replaces wrap_db_retry with db.api. retry_if_ session_ inactive( ) in the tags
neutron.
plugin.
wrap_db_retry is missing a bunch of exception types we
can encounter and are expected to retry in normal database
operations in Neutron (e.g. staledataerror in the bug report).
This patch doesn't include a unit test because there is already
quite a bit of coverage ensuring the decorator handles these types
of exceptions.
Conflicts: services/ tag/tag_ plugin. py
neutron/
Closes-Bug: #1673243 1cd4525152a82a6 04ac8744582 e28f147d903482f 8fdd37d911) c14d97c5100f664 ed313f75be)
Change-Id: I65b10ee5430140
(cherry picked from commit 44b6fcb4d26eaa5
(cherry picked from commit 185d3728352a684