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.
Reviewed: https:/ /review. openstack. org/185898 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=88e499d1c10 eaae59546d9f16c 9c9c262766de84
Committed: https:/
Submitter: Jenkins
Branch: master
commit 88e499d1c10eaae 59546d9f16c9c9c 262766de84
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: Ie36417a64f0eb3 9b53dad61517f83 4aec37bacfb
Closes-Bug: 1458718