Comment 2 for bug 1342086

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

Reviewed: https://review.openstack.org/107025
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=44f8f1e93f21275311d1eab0c93a2834395c2365
Submitter: Jenkins
Branch: master

commit 44f8f1e93f21275311d1eab0c93a2834395c2365
Author: Joe Gordon <email address hidden>
Date: Tue Jul 15 14:19:01 2014 +0200

    Retry db.api.instance_destroy on deadlock

    Update the instance_destroy method of the sqlalchemy db API to retry if
    it fails because of a deadlock. The decorator that handles this was
    introduced in I0293c62d2dd5ac036445bc639cabbd05ba016e83.

    This patch does not include a unit test for this bug, as deadlocks are
    very hard to reproduce.

    Change-Id: I570d91e892a6e1ff4b3cdb8cf81acc483649835e
    Closes-Bug: #1342086