DB tasks should wait for galera explicitly. There shouldn't be
conditions when primary-database is done, allowing *-db tasks to create
users while galera is syncing with other nodes. That causes split brain
as *-db tasks create users in MyISAM tables which is not handled by
Galera.
Reviewed: https:/ /review. openstack. org/413034 /git.openstack. org/cgit/ openstack/ fuel-library/ commit/ ?id=139c5f4fadd 45c3d1430c38b6a 3c7238612d4211
Committed: https:/
Submitter: Jenkins
Branch: master
commit 139c5f4fadd45c3 d1430c38b6a3c72 38612d4211
Author: Sergii Golovatiuk <email address hidden>
Date: Tue Dec 20 12:23:07 2016 +0100
Fix dependency issues between tasks
DB tasks should wait for galera explicitly. There shouldn't be
conditions when primary-database is done, allowing *-db tasks to create
users while galera is syncing with other nodes. That causes split brain
as *-db tasks create users in MyISAM tables which is not handled by
Galera.
Closes-Bug: #1636841 731de36c932f5f0 350e91adb22
Change-Id: I729ba0f2bfce1e
Signed-off-by: Sergii Golovatiuk <email address hidden>