Reviewed: https://review.openstack.org/528094 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=66a7508728fc7cc9f221702b0fe511ddf7f378ab Submitter: Zuul Branch: stable/pike
commit 66a7508728fc7cc9f221702b0fe511ddf7f378ab 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 (cherry picked from commit c66ae65775bb9d885fac059847063fee70617bc5)
Reviewed: https:/ /review. openstack. org/528094 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=66a7508728f c7cc9f221702b0f e511ddf7f378ab
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit 66a7508728fc7cc 9f221702b0fe511 ddf7f378ab
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 85fac059847063f ee70617bc5)
Closes-Bug: #1738083
(cherry picked from commit c66ae65775bb9d8