Merge pull request #309 from ofigueroa/bugfix_gcs_fc_factor_evaluation

Bugfix resolve #308 : gcs.fc_factor parameter evaluation and the mess…
This commit is contained in:
Jean-Marie Renouard 2017-03-08 18:39:37 +01:00 committed by GitHub
commit df33e7ab5c

View file

@ -5055,12 +5055,12 @@ having sum(if(c.column_key in ('PRI','UNI'), 1,0)) = 0"
else {
goodprint "gcs.fc_limit is equal to 5 * wsrep_slave_threads";
}
if (get_wsrep_option('gcs.fc_factor') == 0.8 ) {
if (get_wsrep_option('gcs.fc_factor') != 0.8 ) {
badprint "gcs.fc_factor should be equal to 0.8";
push @adjvars, "gcs.fc_factor=0.8";
}
else {
goodprint "gcs.fc_limit is equal to 5 * wsrep_slave_threads";
goodprint "gcs.fc_factor is equal to 0.8";
}
if ($mystat{'wsrep_flow_control_paused'} > 0.02) {
badprint "Fraction of time node pause flow control > 0.02";