Skip to content

Commit edc6e72

Browse files
authored
Merge pull request major#354 from wschaft/fix-gcs-limit
Changed gcs.limit to gcs.fc_limit, as there's no gcs.limit parameter.
2 parents 2dd5d0a + 60660c7 commit edc6e72

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mysqltuner.pl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5097,14 +5097,14 @@ sub mariadb_galera {
50975097
"wsrep_slave_threads is equal to 2, 3 or 4 times number of CPU(s)";
50985098
}
50995099

5100-
if ( get_wsrep_option('gcs.limit') !=
5100+
if ( get_wsrep_option('gcs.fc_limit') !=
51015101
get_wsrep_option('wsrep_slave_threads') * 5 )
51025102
{
5103-
badprint "gcs.limit should be equal to 5 * wsrep_slave_threads";
5104-
push @adjvars, "gcs.limit= wsrep_slave_threads * 5";
5103+
badprint "gcs.fc_limit should be equal to 5 * wsrep_slave_threads";
5104+
push @adjvars, "gcs.fc_limit= wsrep_slave_threads * 5";
51055105
}
51065106
else {
5107-
goodprint "gcs.limit should be equal to 5 * wsrep_slave_threads";
5107+
goodprint "gcs.fc_limit should be equal to 5 * wsrep_slave_threads";
51085108
}
51095109

51105110
if ( get_wsrep_option('wsrep_slave_threads') > 1 ) {

0 commit comments

Comments
 (0)