[openstack-dev] [all][oslo] Dealing with database connection sharing issues

Carl Baldwin carl at ecbaldwin.net
Fri Feb 20 03:03:57 UTC 2015


On Thu, Feb 19, 2015 at 7:45 PM, Mike Bayer <mbayer at redhat.com> wrote:
> So, option “A”, they call engine.dispose() the moment they’re in a fork, the activity upon requesting a connection from the pool is: look in pool, no connections present, create a connection and return it.

FWIW, this is what Neutron does:

https://github.com/openstack/neutron/blob/c9713d09/neutron/wsgi.py#L104

Carl



More information about the OpenStack-dev mailing list