ignore galera check when wsrep_on = 0 #353
This commit is contained in:
parent
87eb96a485
commit
177c9f6695
1 changed files with 4 additions and 1 deletions
|
@ -5183,7 +5183,10 @@ sub mariadb_galera {
|
||||||
debugprint "\t" . trim($gvar) . " = " . $myvar{$gvar};
|
debugprint "\t" . trim($gvar) . " = " . $myvar{$gvar};
|
||||||
$result{'Galera'}{'variables'}{$gvar} = $myvar{$gvar};
|
$result{'Galera'}{'variables'}{$gvar} = $myvar{$gvar};
|
||||||
}
|
}
|
||||||
|
if ( not defined( $myvar{'wsrep_on'} ) or $myvar{'wsrep_on'} ne "ON" ) {
|
||||||
|
infoprint "Galera is disabled.";
|
||||||
|
return;
|
||||||
|
}
|
||||||
debugprint "Galera wsrep provider Options:";
|
debugprint "Galera wsrep provider Options:";
|
||||||
my @galera_options = get_wsrep_options;
|
my @galera_options = get_wsrep_options;
|
||||||
$result{'Galera'}{'wsrep options'} = get_wsrep_options();
|
$result{'Galera'}{'wsrep options'} = get_wsrep_options();
|
||||||
|
|
Loading…
Reference in a new issue