From 24b901363c788a8ba08102f588b91fee897a74a7 Mon Sep 17 00:00:00 2001 From: "Oscar A. Figueroa" Date: Wed, 8 Mar 2017 11:50:02 +0100 Subject: [PATCH] Bugfix resolve #308 : gcs.fc_factor parameter evaluation and the message report, which referencing wsrep_slave_threads instead. --- mysqltuner.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mysqltuner.pl b/mysqltuner.pl index 11d8e51..dd50384 100755 --- a/mysqltuner.pl +++ b/mysqltuner.pl @@ -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";