mirror of https://github.com/schoebel/mars
marsadm: start 'primary' handover after fetch has completed
This commit is contained in:
parent
04c8985961
commit
ee2f544994
|
@ -1884,6 +1884,7 @@ sub primary_phase1 {
|
||||||
return if ($old eq $host and $cmd eq "primary");
|
return if ($old eq $host and $cmd eq "primary");
|
||||||
my $new = "(none)";
|
my $new = "(none)";
|
||||||
return if $old eq $new;
|
return if $old eq $new;
|
||||||
|
try_to_avoid_splitbrain(@_) if (!$force and $cmd eq "primary");
|
||||||
_primary_res($res, $new, $old);
|
_primary_res($res, $new, $old);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue