I'm not sure this is actually fixed the issue anymore and perhaps has regressed if the MySQLPingListener did in fact reconnect after servers have 'gone away' As a test, I'm starting glance, running 'glance index' and restarting the mysql server. The next run of 'glance index' produces a traceback on the client and server side, dumping the "Mysql server has gone away" error. I believe the functions in get_session + get_engine are not enough to catch the error when executed against the database connection. If someone else can confirm, this bug should be reopenned.
I'm not sure this is actually fixed the issue anymore and perhaps has regressed if the MySQLPingListener did in fact reconnect after servers have 'gone away' As a test, I'm starting glance, running 'glance index' and restarting the mysql server. The next run of 'glance index' produces a traceback on the client and server side, dumping the "Mysql server has gone away" error. I believe the functions in get_session + get_engine are not enough to catch the error when executed against the database connection. If someone else can confirm, this bug should be reopenned.