fuel-library/files
Vladimir Kuklin 31efd1e2c9 Fix race condition for primary component bootstrap
Create node is_pc flag before starting to check if there
is more than one of those flags. Thus, we avoid race condition
when there is 0 is_pc flags and galera starts with --wsrep-new-cluster
on 2 nodes.

We set it before the check and, as setting them is synchronous through
Pacemaker CIB, in that case when >1 nodes attempt to bootstrap with
--wsrep-new-cluster, only one node will see <= 1 is_pc flags. Others
will see more than one and fail and reattempt to start. At that point
one of the nodes will already be bootstrapped, thus reelection will not
be triggered and the section of bootstrap will be skipped

Change-Id: I82a71132eef7877ac7ab1ed04263044b3b1e8d9b
Closes-bug: #1617400
Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com>
2017-05-03 12:31:41 +00:00
..
fuel-ha-utils Fix race condition for primary component bootstrap 2017-05-03 12:31:41 +00:00
fuel-migrate Improving logging procedure 2016-07-27 12:51:04 +03:00
fuel-misc Fix 'generate_vms.sh' idempotentency 2016-08-30 18:00:24 +03:00
fuel-notify Add Apache 2.0 license to source file 2016-09-30 15:19:23 +07:00
fuel-umm Support systemd in fuel-umm 2016-06-16 11:30:36 +00:00
fuel-utils [sync/mitaka] Rebuild bootstrap during master node upgrade. 2017-01-19 14:40:09 +00:00
rabbit-fence Drop unneccesary node_name_prefix_for_messaging file 2017-01-16 15:25:52 +00:00