[openstack-dev] [all] switch from mysqldb to another eventlet aware mysql client -- status of postgresql drivers?

Chris Friesen chris.friesen at windriver.com
Mon Jul 14 19:45:31 UTC 2014


On 07/14/2014 11:53 AM, Mike Bayer wrote:
>
> On Jul 14, 2014, at 1:02 PM, Chris Friesen
> <chris.friesen at windriver.com> wrote:
>
>> On 07/14/2014 10:41 AM, Mike Bayer wrote:

>>> if psycopg2 is in use, the set_wait_callback() extension must be
>>> enabled.

>> ...do we need to do something extra to set up the extension above
>> and beyond what is already in the openstack/sqlalchemy/eventlet
>> codebase?  Is this documented somewhere?

> That I do not know, the folks who implement eventlet compat would
> have to respond with what testing and development they’ve done in
> this regard.

Looking at the eventlet mailing list and 
"https://github.com/eventlet/eventlet/blob/master/eventlet/support/psycopg2_patcher.py" 
it appears that they do indeed call set_wait_callback().

Seems like they added it back in 2010.

Whew!  Had me worried there for a minute...

Chris



More information about the OpenStack-dev mailing list