Comment 23 for bug 1382064

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

Reviewed: https://review.openstack.org/195797
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=4cd1b58c8c4ae2a9da31afc1a87647003d6ac128
Submitter: Jenkins
Branch: stable/juno

commit 4cd1b58c8c4ae2a9da31afc1a87647003d6ac128
Author: Eugene Nikanorov <email address hidden>
Date: Thu Jan 22 15:54:29 2015 +0300

    Refactor retry mechanism used in some DB operations

    Use oslo_db helper that will allow to restart the whole
    transaction in case it needs a certain operation to be repeated.
    This is a workaround for the REPEATABLE READ problem where
    retrying logic will not work because queries inside a transation
    will not see updates made by other transactions.
    So, run every attempt in a separate transaction.

    Conflicts:
            neutron/plugins/ml2/drivers/helpers.py
            neutron/plugins/ml2/plugin.py
            neutron/tests/unit/ml2/test_ml2_plugin.py

    (cherry picked from commit 5dbb34b56fc42d9c68bf6647910a437a2ad6b29e)
    Change-Id: I68f9ae8019879725df58f5da2c83bb699a548255
    Closes-Bug: #1382064