neutron/neutron/quota
Kevin Benton c46edbc7d6 Use db_api.retry_db_errors in quota engine
The quota engine was still using oslo_db wrap_db_retry
which does not automatically take into account deadlocks
that occur inside of nested savepoint transactions.

In one case it didn't matter because it passed in the correct
exception checker but in the one that protected 'set_quota_usage'
it did not use is_retriable so a deadlock inside of the savepoint
would have resulted in a much more expensive retry all of the way
up at the API layer.

This patch just adjusts them to both use the standard neutron
retry_db_errors decorator.

Change-Id: I1e45eb15f14bf35881e5b1dce77733e831e9c6b1
Related-Bug: #1596075
2016-07-18 22:48:19 -06:00
..
__init__.py Remove the deprecated config "quota_items" 2016-06-24 14:45:39 +00:00
resource.py Use db_api.retry_db_errors in quota engine 2016-07-18 22:48:19 -06:00
resource_registry.py Using LOG.warning replace LOG.warn 2016-03-10 11:02:45 -08:00