]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Dispose DB connections between backend proc starts
authorJay S. Bryant <jsbryant@us.ibm.com>
Tue, 9 Jun 2015 22:10:18 +0000 (17:10 -0500)
committerJay S. Bryant <jsbryant@us.ibm.com>
Tue, 9 Jun 2015 22:40:54 +0000 (17:40 -0500)
commitbb683d6ce4f8e8ad6f1ba657eac5c7f92c9ea82f
tree03b30eb07067d69cf587131dac562d4251ef3ea2
parentd31d73dfd171ff94555747feaccc9ac8dacabf56
Dispose DB connections between backend proc starts

Currently we do not dispose the existing DB pools before
forking off additional storage backend processes.  This can
result in timing issues and DB errors.

This change simply ensures that we do a dispose_engine() in
the loop where we are forking off processes for the storage
backends.

Change-Id: I4ce67e1ce7853fafe5318393482d841583e42098
Closes-bug: 1463580
cinder/cmd/volume.py