oslo.db/oslo_db
Mike Bayer 7daffffafc Add support for pickling enginefacade context objects
In order to pickle a context object which refers
to an active _TransactionContextTLocal, we have to
use __reduce__ so that no database, engine, or session
state is pickled, and only a constructor remains.  Upon
unpickling, the constructor will install a new, empty
_TransactionContextTLocal on the new context, as is
appropriate since this is a totally different context object
than the original one.

Change-Id: Ia50cf10ff91a013ee24773c095a3df69ae06847b
2015-09-22 13:45:58 -04:00
..
sqlalchemy Add support for pickling enginefacade context objects 2015-09-22 13:45:58 -04:00
tests Add support for pickling enginefacade context objects 2015-09-22 13:45:58 -04:00
__init__.py Move files out of the namespace package 2014-12-24 13:28:48 +02:00
_i18n.py Switch to non-namespaced module import - oslo_i18n 2015-03-12 06:44:10 -04:00
api.py Allow additional exceptions in wrap_db_retry 2015-06-25 11:36:35 -07:00
concurrency.py Update Oslo imports to remove namespace package 2015-01-21 18:23:56 -05:00
exception.py Improve failure mode handling in enginefacade 2015-07-27 19:02:41 +03:00
options.py Merge "Retry query if db deadlock error is received" 2015-01-27 15:33:15 +00:00