Duplicate recommendation/check #545

Duplicate recommendation/check #545
This commit is contained in:
Jean-Marie Renouard 2021-03-08 18:01:44 +01:00
parent bf8d1e69c1
commit 5a399f6006

View file

@ -5332,6 +5332,7 @@ having sum(if(c.column_key in ('PRI','UNI'), 1,0)) = 0"
infoprint "CPU core detected : " . (cpu_cores);
infoprint "wsrep_slave_threads: " . get_wsrep_option('wsrep_slave_threads');
if ( get_wsrep_option('wsrep_slave_threads') > ( (cpu_cores) * 4 )
or get_wsrep_option('wsrep_slave_threads') < ( (cpu_cores) * 2 ) )
{
@ -5344,16 +5345,6 @@ having sum(if(c.column_key in ('PRI','UNI'), 1,0)) = 0"
"wsrep_slave_threads is equal to 2, 3 or 4 times number of CPU(s)";
}
if ( get_wsrep_option('gcs.fc_limit') !=
get_wsrep_option('wsrep_slave_threads') * 5 )
{
badprint "gcs.fc_limit should be equal to 5 * wsrep_slave_threads";
push @adjvars, "gcs.fc_limit= wsrep_slave_threads * 5";
}
else {
goodprint "gcs.fc_limit should be equal to 5 * wsrep_slave_threads";
}
if ( get_wsrep_option('wsrep_slave_threads') > 1 ) {
infoprint
"wsrep parallel slave can cause frequent inconsistency crash.";