marsadm: avoid split brain during fast handover

This commit is contained in:
Thomas Schoebel-Theuer 2019-02-02 20:38:32 +01:00 committed by Thomas Schoebel-Theuer
parent 893a00976a
commit b7b9e6fed1

View File

@ -3376,6 +3376,7 @@ sub primary_phase2 {
my ($cmd, $res) = @_;
return if $force;
return unless $cmd eq "primary";
wait_cluster($cmd);
check_primary_gone($res);
}