commit 74f9bba9c7ac27df8f73d11fc317649ae22040fb
Author: Matt Riedemann <email address hidden>
Date: Thu Jan 24 17:11:06 2019 -0500
Add retry_on_deadlock to migration_update DB API
Lots of different things can be updating the same migration
record at the same time (different computes, the API, etc)
and we see DBDeadlock errors on migration_update at times
(and operators that do a lot of migrations have mentioned it
also) so this change simply adds the retry_on_deadlock decorator
to the migration_update DB API method.
Reviewed: https:/ /review. openstack. org/633075 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=74f9bba9c7a c27df8f73d11fc3 17649ae22040fb
Committed: https:/
Submitter: Zuul
Branch: master
commit 74f9bba9c7ac27d f8f73d11fc31764 9ae22040fb
Author: Matt Riedemann <email address hidden>
Date: Thu Jan 24 17:11:06 2019 -0500
Add retry_on_deadlock to migration_update DB API
Lots of different things can be updating the same migration
record at the same time (different computes, the API, etc)
and we see DBDeadlock errors on migration_update at times
(and operators that do a lot of migrations have mentioned it
also) so this change simply adds the retry_on_deadlock decorator
to the migration_update DB API method.
Change-Id: I98bbe96e4be532 6e18ef2c2ac50c0 d24993d52ec
Closes-Bug: #1642537