commit 185d3728352a684c14d97c5100f664ed313f75be
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.
Closes-Bug: #1673243
Change-Id: I65b10ee54301401cd4525152a82a604ac8744582
(cherry picked from commit 44b6fcb4d26eaa5e28f147d903482f8fdd37d911)
Reviewed: https:/ /review. openstack. org/460908 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=185d3728352 a684c14d97c5100 f664ed313f75be
Committed: https:/
Submitter: Jenkins
Branch: stable/ocata
commit 185d3728352a684 c14d97c5100f664 ed313f75be
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.
Closes-Bug: #1673243 1cd4525152a82a6 04ac8744582 e28f147d903482f 8fdd37d911)
Change-Id: I65b10ee5430140
(cherry picked from commit 44b6fcb4d26eaa5