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: Ie5341290097bddce299bf5726e2607d150c23768
Closes-Bug: #1643024
(cherry picked from commit acf86ab9e23a2ca59425055397650e892af5f7ad)
Reviewed: https:/ /review. openstack. org/415882 /git.openstack. org/cgit/ openstack/ fuel-web/ commit/ ?id=8bb1769ccda f2804d79fc2d99c c52ac304e7c296
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit 8bb1769ccdaf280 4d79fc2d99cc52a c304e7c296
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 59425055397650e 892af5f7ad)
Closes-Bug: #1643024
(cherry picked from commit acf86ab9e23a2ca