Reviewed: https://review.openstack.org/156326 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=f1935a55bc4e6189c1413556ec92257f92a384e4 Submitter: Jenkins Branch: master
commit f1935a55bc4e6189c1413556ec92257f92a384e4 Author: pkholkin <email address hidden> Date: Mon Feb 16 21:44:05 2015 +0400
Added retries in 'network_set_host' function
In concurrent transactions in 'network_set_host' function could happen a deadlock or returned rows_updated value could be equal to 0.
In these cases we should retry the transaction to get another row and try to set the host again.
Closes-Bug: #1422610
Change-Id: I374b12e62f76810ffdb1e2d35af72a738ead5591
Reviewed: https:/ /review. openstack. org/156326 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=f1935a55bc4 e6189c1413556ec 92257f92a384e4
Committed: https:/
Submitter: Jenkins
Branch: master
commit f1935a55bc4e618 9c1413556ec9225 7f92a384e4
Author: pkholkin <email address hidden>
Date: Mon Feb 16 21:44:05 2015 +0400
Added retries in 'network_set_host' function
In concurrent transactions in 'network_set_host' function
could happen a deadlock or returned rows_updated value
could be equal to 0.
In these cases we should retry the transaction to get
another row and try to set the host again.
Closes-Bug: #1422610
Change-Id: I374b12e62f7681 0ffdb1e2d35af72 a738ead5591