diff options
author | Chris Behrens <cbehrens@codestud.com> | 2013-02-18 04:00:38 +0000 |
---|---|---|
committer | Chris Behrens <cbehrens@codestud.com> | 2013-02-21 05:25:13 +0000 |
commit | de09aa254f647dc0dab0cd67c0ed26e093df180a (patch) | |
tree | 61ffb618394280b0721d2438e797bbe3730f25b3 /nova/loadables.py | |
parent | a41d9c6c105de57b32d2f9a854da70243e348cf4 (diff) | |
download | nova-de09aa254f647dc0dab0cd67c0ed26e093df180a.tar.gz nova-de09aa254f647dc0dab0cd67c0ed26e093df180a.tar.xz nova-de09aa254f647dc0dab0cd67c0ed26e093df180a.zip |
Move DB thread pooling to DB API.
The eventlet db_pool wrapping done in sqlalchemy is wrong. It needs to
be around the whole DB API call.
Fixes bug 1128605
Syncs nova with the fix in oslo. Moves nova to use the oslo version of
db/api.py to import the DB API implementation.
Renames configuration option sql_dbpool_enable to dbapi_use_tpool
NOTE: tpool will not work without a fix to eventlet for Threads + locking.
DocImpact
Change-Id: I6c75b6138d38d12261d133f2cb2f5e59c667f837
Diffstat (limited to 'nova/loadables.py')
0 files changed, 0 insertions, 0 deletions