Reviewed: https://review.openstack.org/73314 Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=8bb7830a5068000ca265493a93883b90114ccde7 Submitter: Jenkins Branch: stable/havana
commit 8bb7830a5068000ca265493a93883b90114ccde7 Author: Ian McLeod <email address hidden> Date: Wed Feb 5 15:51:58 2014 -0600
Don't raise MySQL 2013 'Lost connection' errors
cherry pick, including original commit message below from oslo-incubator commit:
b4f72b2987d53bb434e3a833f06d70a2167f5efc
Closes bug: 1275838
Although this code error is part of the `ping_listener` tests, it was missing from the list of known - and ignored - connection errors.
The code error 2013 refers to a connection lost during a query, see: https://dev.mysql.com/doc/refman/5.0/en/error-messages-client.html#error_cr_server_lost
Without this error code, the session won't try to reconnect to mysql, which makes `max_retries` useless.
(cherry picked from commit 472c1440677440e0888570926b49542ddf260724)
Conflicts: heat/openstack/common/db/sqlalchemy/session.py
Change-Id: Id8a1c0665468b503b092c4f01ffd40e2be9c6fa9
Reviewed: https:/ /review. openstack. org/73314 /git.openstack. org/cgit/ openstack/ heat/commit/ ?id=8bb7830a506 8000ca265493a93 883b90114ccde7
Committed: https:/
Submitter: Jenkins
Branch: stable/havana
commit 8bb7830a5068000 ca265493a93883b 90114ccde7
Author: Ian McLeod <email address hidden>
Date: Wed Feb 5 15:51:58 2014 -0600
Don't raise MySQL 2013 'Lost connection' errors
cherry pick, including original commit message below from
oslo-incubator commit:
b4f72b2987d 53bb434e3a833f0 6d70a2167f5efc
Closes bug: 1275838
Although this code error is part of the `ping_listener` tests, it was
missing from the list of known - and ignored - connection errors.
The code error 2013 refers to a connection lost during a query, see: /dev.mysql. com/doc/ refman/ 5.0/en/ error-messages- client. html#error_ cr_server_ lost
https:/
Without this error code, the session won't try to reconnect to mysql,
which makes `max_retries` useless.
(cherry picked from commit 472c1440677440e 0888570926b4954 2ddf260724)
Conflicts: openstack/ common/ db/sqlalchemy/ session. py
heat/
Change-Id: Id8a1c0665468b5 03b092c4f01ffd4 0e2be9c6fa9