mirror of https://github.com/schoebel/mars
marsadm: safeguard wait-cluster against illegal timestamps
This commit is contained in:
parent
58359ff381
commit
08ee99d304
|
@ -1846,6 +1846,10 @@ sub wait_cluster {
|
|||
lwarn "Need restart for getting more 'time' links\n";
|
||||
goto restart if $max_restarts-- > 0;
|
||||
}
|
||||
if ($status{$peer} !~ m/^[0-9.]+$/) {
|
||||
$dead_count++;
|
||||
next;
|
||||
}
|
||||
if ($status{$peer} > $old_status{$peer} &&
|
||||
$status{$peer} > $start_time &&
|
||||
$progress{$peer}-- <= 0) {
|
||||
|
|
Loading…
Reference in New Issue