Reviewed: https://review.openstack.org/527836 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=c66ae65775bb9d885fac059847063fee70617bc5 Submitter: Zuul Branch: master
commit c66ae65775bb9d885fac059847063fee70617bc5 Author: Matt Riedemann <email address hidden> Date: Wed Dec 13 21:22:32 2017 -0500
Retry _trait_sync on deadlock
We're seeing DBDeadlock failures during scheduling in CI jobs when syncing traits when getting allocation candidates.
We have a lock around this code but that's not going to carry across multiple processes, so we need to be able to retry on deadlock if one occurs.
Change-Id: I6cf1793c1cbed18d850ec7e32b5b195e78cb4e68 Closes-Bug: #1738083
Reviewed: https:/ /review. openstack. org/527836 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=c66ae65775b b9d885fac059847 063fee70617bc5
Committed: https:/
Submitter: Zuul
Branch: master
commit c66ae65775bb9d8 85fac059847063f ee70617bc5
Author: Matt Riedemann <email address hidden>
Date: Wed Dec 13 21:22:32 2017 -0500
Retry _trait_sync on deadlock
We're seeing DBDeadlock failures during scheduling in CI jobs
when syncing traits when getting allocation candidates.
We have a lock around this code but that's not going to carry across
multiple processes, so we need to be able to retry on deadlock if
one occurs.
Change-Id: I6cf1793c1cbed1 8d850ec7e32b5b1 95e78cb4e68
Closes-Bug: #1738083