wsrep_slave_threads #305
This commit is contained in:
parent
469a205ac0
commit
580a707ef7
1 changed files with 4 additions and 2 deletions
|
@ -5176,9 +5176,11 @@ group by c.table_schema,c.table_name
|
|||
having sum(if(c.column_key in ('PRI','UNI'), 1,0)) = 0"
|
||||
);
|
||||
|
||||
infoprint "CPU core detected: ". (cpu_cores);
|
||||
|
||||
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) * 3 )
|
||||
or get_wsrep_option('wsrep_slave_threads') < (cpu_cores) * 2 )
|
||||
{
|
||||
badprint
|
||||
"wsrep_slave_threads is not equal to 2, 3 or 4 times number of CPU(s)";
|
||||
|
|
Loading…
Reference in a new issue