commit 62d35009755a45c39a0b1cdc4c69791f469e469e
Author: Dan Smith <email address hidden>
Date: Tue Oct 31 07:46:36 2017 -0700
Make put_allocations() retry on concurrent update
This adds a retries decorator to the scheduler report client
and modifies put_allocations() so that it will detect a concurrent
update, raising the Retry exception to trigger the decorator.
This should be usable by other methods in the client easily, but
this patch only modifies put_allocations() to fix the bug.
Reviewed: https:/ /review. openstack. org/516708 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=62d35009755 a45c39a0b1cdc4c 69791f469e469e
Committed: https:/
Submitter: Zuul
Branch: master
commit 62d35009755a45c 39a0b1cdc4c6979 1f469e469e
Author: Dan Smith <email address hidden>
Date: Tue Oct 31 07:46:36 2017 -0700
Make put_allocations() retry on concurrent update
This adds a retries decorator to the scheduler report client
and modifies put_allocations() so that it will detect a concurrent
update, raising the Retry exception to trigger the decorator.
This should be usable by other methods in the client easily, but
this patch only modifies put_allocations() to fix the bug.
Change-Id: Ic32a54678dd413 668f02e77d5e6c4 195664ac24c
Closes-Bug: #1728722