Comment 5 for bug 1458718

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

Reviewed: https://review.openstack.org/188658
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=2884595c96f331facb11510057d68d5a01bb4747
Submitter: Jenkins
Branch: stable/kilo

commit 2884595c96f331facb11510057d68d5a01bb4747
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.

    (cherry-picked from 88e499d1c10eaae59546d9f16c9c9c262766de84)

    Change-Id: Ie36417a64f0eb39b53dad61517f834aec37bacfb
    Closes-Bug: 1458718