commit 0dc093b98faf8e256ddc48f9dafb4d061662f0e3
Author: Adam Gandelman <email address hidden>
Date: Wed Mar 28 17:08:13 2012 -0700
Add MySQLPingListener() back
The use of wrap_db() to catch low-level problems in the connection
pool appears to be incompatible with new versions of sqlalchemy
(0.7.4/precise). This re-instates the use of a event listener to
catch the error of 'mysql has gone away'. Keeps the wrapping
logic in place for use before the connection pool has been constructed,
specifically to allow glance to retry its initial database connection on
service startup.
Reviewed: https:/ /review. openstack. org/5938 github. com/openstack/ glance/ commit/ 0dc093b98faf8e2 56ddc48f9dafb4d 061662f0e3
Committed: http://
Submitter: Jenkins
Branch: master
commit 0dc093b98faf8e2 56ddc48f9dafb4d 061662f0e3
Author: Adam Gandelman <email address hidden>
Date: Wed Mar 28 17:08:13 2012 -0700
Add MySQLPingListener() back
The use of wrap_db() to catch low-level problems in the connection 7.4/precise) . This re-instates the use of a event listener to
pool appears to be incompatible with new versions of sqlalchemy
(0.
catch the error of 'mysql has gone away'. Keeps the wrapping
logic in place for use before the connection pool has been constructed,
specifically to allow glance to retry its initial database connection on
service startup.
Fixes bug 967887
Change-Id: Ia732377d340410 4b8acf7fe4ada16 4ec7ecf705f