]> git.proxmox.com Git - mirror_corosync.git/commit
votequorum: Reflect runtime change of 2Node to WFA
authorJan Friesse <jfriesse@redhat.com>
Thu, 16 Jan 2020 14:43:59 +0000 (15:43 +0100)
committerJan Friesse <jfriesse@redhat.com>
Tue, 21 Jan 2020 15:19:49 +0000 (16:19 +0100)
commit8ce65bf951bc1e5b2d64b60ea027fbdc551d4fc8
tree9b03b0a965bbfd6d2a5910024e6841eaa5e0845c
parent9fda4dc6ace5b92cbd0e512132e9eab4bb7a0c63
votequorum: Reflect runtime change of 2Node to WFA

When 2Node mode is set, WFA is also set unless WFA is configured
explicitly. This behavior was not reflected on runtime change, so
restarted corosync behavior was different (WFA not set). Also when
cluster is reduced from 3 nodes to 2 nodes during runtime, WFA was not
set, what may result in two quorate partitions.

Solution is to set WFA depending on 2Node when WFA
is not explicitly configured.

Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Christine Caulfield <ccaulfie@redhat.com>
exec/votequorum.c