mirror of
https://github.com/schoebel/mars
synced 2024-12-28 18:03:12 +00:00
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
Block a user