PT-196 pt-onine-schema-change is pausing because {some_status_variable}=0

Description here
This commit is contained in:
Carlos Salguero
2017-08-30 14:54:47 -03:00
parent d8723716c7
commit 7e59feb8dd
7 changed files with 86 additions and 5 deletions

View File

@@ -175,7 +175,7 @@ sub wait {
die "$var=$val exceeds its critical threshold "
. "$self->{critical_val_for}->{$var}\n";
}
if ( !$val || $val >= $self->{max_val_for}->{$var} ) {
if ( $val >= $self->{max_val_for}->{$var} ) {
$vals_too_high{$var} = $val;
}
else {