congress/congress/db
Eric K 7db74cbf0f DB operations retry on deadlock
Occassionally, the database backend may experience a deadlock error
in the normal course of operations.
It is standard practice to have the database client retry the
operation.

If retries continue to fail, eventually return to user with 500
error and description.

Closes-Bug: 1746139

Change-Id: Iffc9344d22d1b3c0408eca3cef11767bafd2c7c2
2018-02-07 11:46:23 -08:00
..
migration Automatically load library policy files at start 2017-07-06 17:45:19 -07:00
__init__.py Add persistant store for api 2014-11-10 22:27:01 +00:00
api.py Fix 500 error on DBDataError 2017-07-31 13:02:41 -07:00
datasources.py DB operations retry on deadlock 2018-02-07 11:46:23 -08:00
db_ds_table_data.py DB operations retry on deadlock 2018-02-07 11:46:23 -08:00
db_library_policies.py DB operations retry on deadlock 2018-02-07 11:46:23 -08:00
db_policy_rules.py DB operations retry on deadlock 2018-02-07 11:46:23 -08:00
model_base.py Use python3 print, division, import 2016-01-20 15:31:02 -08:00
utils.py DB operations retry on deadlock 2018-02-07 11:46:23 -08:00