Comment 74 for bug 1596075

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

Reviewed: https://review.openstack.org/346288
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=3213dd884e15d1e2b2209aed3aed82cd0213a677
Submitter: Jenkins
Branch: master

commit 3213dd884e15d1e2b2209aed3aed82cd0213a677
Author: Kevin Benton <email address hidden>
Date: Fri Jul 22 09:56:30 2016 -0700

    Mark DBConnectionError as retriable

    DBConnectionError can be thrown if the connection
    to the database gets closed (e.g. sql restart or
    network connectivity failure). This should be part
    of our standard list of exceptions to retry so we
    are resillient to intermittent connectivity issues.

    The olso db wrap db retry decorator has this option
    as well[1] but we can't use it because our logic to
    detect retriable errors in MultipleException types.

    1. https://github.com/openstack/oslo.db/blob/a79479088029e4fa51def91cb36bc652356462b6/oslo_db/api.py#L123

    Partial-Bug: #1596075
    Change-Id: I26423e306173d956667b9d1e40f07f2b5bc8d805