As a part of cluster serialization primary tags on nodes are updated.
This results in updated nodes record to be locked until the transaction
where serialization happens ends. When there is a lot of nodes this
transaction can be very long and, as a result, a lot of node updates by
nailgun agent can be blocked until it ends. At some points this results
in all workers being busy blocking any REST call.
Reviewed: https:/ /review. openstack. org/411692 /git.openstack. org/cgit/ openstack/ fuel-web/ commit/ ?id=acf86ab9e23 a2ca59425055397 650e892af5f7ad
Committed: https:/
Submitter: Jenkins
Branch: master
commit acf86ab9e23a2ca 59425055397650e 892af5f7ad
Author: Georgy Kibardin <email address hidden>
Date: Fri Dec 16 11:18:56 2016 +0300
Do not lock nodes records for a long time
As a part of cluster serialization primary tags on nodes are updated.
This results in updated nodes record to be locked until the transaction
where serialization happens ends. When there is a lot of nodes this
transaction can be very long and, as a result, a lot of node updates by
nailgun agent can be blocked until it ends. At some points this results
in all workers being busy blocking any REST call.
Change-Id: Ie5341290097bdd ce299bf5726e260 7d150c23768
Closes-Bug: #1643024