MTR test case. Please push when fixing the bug
# # LP:1315588 wsrep-slave-threads is counted towards max_connections #
--source include/galera_cluster.inc --source include/have_innodb.inc
--let $max_connections_orig = `SELECT @@max_connections` --let $wsrep_slave_threads_orig = `SELECT @@wsrep_slave_threads`
SET GLOBAL max_connections = 5; SET GLOBAL wsrep_slave_threads = 10;
SELECT COUNT(*) > 5 FROM INFORMATION_SCHEMA.PROCESSLIST;
--let $galera_connection_name = node_1a --let $galera_server_number = 1 --source include/galera_connect.inc
--connection node_1a SELECT 1 FROM DUAL;
--eval SET GLOBAL max_connections = $max_connections_orig --eval SET GLOBAL wsrep_slave_threads = $wsrep_slave_threads_orig
MTR test case. Please push when fixing the bug
#
# LP:1315588 wsrep-slave-threads is counted towards max_connections
#
--source include/ galera_ cluster. inc have_innodb. inc
--source include/
--let $max_connection s_orig = `SELECT @@max_connections` slave_threads_ orig = `SELECT @@wsrep_ slave_threads`
--let $wsrep_
SET GLOBAL max_connections = 5;
SET GLOBAL wsrep_slave_threads = 10;
SELECT COUNT(*) > 5 FROM INFORMATION_ SCHEMA. PROCESSLIST;
--let $galera_ connection_ name = node_1a server_ number = 1 galera_ connect. inc
--let $galera_
--source include/
--connection node_1a
SELECT 1 FROM DUAL;
--eval SET GLOBAL max_connections = $max_connection s_orig slave_threads_ orig
--eval SET GLOBAL wsrep_slave_threads = $wsrep_