mirror of https://github.com/schoebel/mars
marsadm: avoid split brain during fast handover
This commit is contained in:
parent
893a00976a
commit
b7b9e6fed1
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue