Re: [Openstack] MySQL connection gone away handling in OpenStack projects

2012-03-23 Thread Adam Gandelman
On 03/22/2012 09:48 AM, Vishvananda Ishaya wrote: This looks like a much better solution than MySQLPingListener. It would be good to get this into common / nova, especially if we can verify that it works with postgres as well. Vish +1 for making this the standard method of initializing

[Openstack] MySQL connection gone away handling in OpenStack projects

2012-03-22 Thread Unmesh Gurjar
Hi, The current handling of the 'SQL server has gone away' is different across OpenStack projects (eg. Nova uses MySQLPingListener, whereas Glance retries the db operation to recover connection). I am curious to know if the fix implemented in https://review.openstack.org/5552 will be used

Re: [Openstack] MySQL connection gone away handling in OpenStack projects

2012-03-22 Thread Vishvananda Ishaya
This looks like a much better solution than MySQLPingListener. It would be good to get this into common / nova, especially if we can verify that it works with postgres as well. Vish On Mar 22, 2012, at 7:48 AM, Unmesh Gurjar wrote: Hi, The current handling of the ‘SQL server has gone