wsrep_slave_threads #305

This commit is contained in:
Jean-Marie RENOUARD 2018-08-07 09:00:21 +02:00
parent eac9100d1c
commit dc86f73d1b

View file

@ -5149,6 +5149,7 @@ 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);
if ( get_wsrep_option('wsrep_slave_threads') > (cpu_cores) * 4
or get_wsrep_option('wsrep_slave_threads') < (cpu_cores) * 3 )
{