Comment 15 for bug 1276510

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.openstack.org/73794
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=6a207d4b4652e368967650d64446e850fe0fec32
Submitter: Jenkins
Branch: master

commit 6a207d4b4652e368967650d64446e850fe0fec32
Author: yangxurong <email address hidden>
Date: Sat Feb 15 16:56:14 2014 +0800

    Don't raise MySQL 2013 'Lost connection' errors

    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.

    Closes-bug: #1276510
    Change-Id: I27cad999b30a480ae23250150bfcba2668acabd7