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)
Reviewed: https:/ /review. openstack. org/188658 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=2884595c96f 331facb11510057 d68d5a01bb4747
Committed: https:/
Submitter: Jenkins
Branch: stable/kilo
commit 2884595c96f331f acb11510057d68d 5a01bb4747
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 88e499d1c10eaae 59546d9f16c9c9c 262766de84)
Change-Id: Ie36417a64f0eb3 9b53dad61517f83 4aec37bacfb
Closes-Bug: 1458718