Kevin Benton c7f938ceaa Allow additional exceptions in wrap_db_retry
There are cases where we want to catch and retry some additional
exceptions and treat them as RetryRequests depending on method
that is being excecuted (e.g. StaleDataError or ObjectDeletedError).

This patch changes the wrap_db_retry decorator to take an extra
parameter that is a list of additional exception classes that will
be caught and treated as a RetryRequest.

Change-Id: I6c61b1d2f0331cac31dfde0afa523e44d470b83f
2015-06-25 11:36:35 -07:00
2015-05-05 19:39:49 +00:00
2014-04-18 11:33:16 +03:00
2014-09-04 16:27:00 -04:00
2014-04-30 16:55:51 +02:00
2014-04-18 11:33:16 +03:00
2014-04-18 11:33:16 +03:00
2014-09-01 11:40:08 +02:00
2014-04-18 11:33:16 +03:00
2014-04-18 11:33:16 +03:00
2015-05-10 19:17:03 -04:00
2015-06-22 08:27:02 +00:00
2015-06-18 15:42:23 +03:00

oslo.db

Latest Version

Downloads

The oslo db (database) handling library, it provides database connectivity to different database backends and various other helper utils.

Description
OpenStack Common DB Code
Readme 14 MiB
Languages
Python 99.6%
Shell 0.4%