Comment 2 for bug 1458718

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/185898
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=88e499d1c10eaae59546d9f16c9c9c262766de84
Submitter: Jenkins
Branch: master

commit 88e499d1c10eaae59546d9f16c9c9c262766de84
Author: Gong Zhang <email address hidden>
Date: Wed May 27 17:10:17 2015 +0800

    Move pool dispose() before os.fork

    Currently pool dispose() is done after os.fork, but this will
    produce shared DB connections in child processes which may lead
    to DB errors.

    Move pool dispose() before os.fork. This will remove all existing
    connections in the parent process and child processes will create
    their own new ones.

    Change-Id: Ie36417a64f0eb39b53dad61517f834aec37bacfb
    Closes-Bug: 1458718