This is because of:
mysql_mutex_lock(&LOCK_connection_count); ++connection_count; mysql_mutex_unlock(&LOCK_connection_count);
in start_wsrep_THD.
and subsequent check:
if (*thd->scheduler->connection_count >= *thd->scheduler->max_connections + 1 || abort_loop)
in create_new_thread.
This is because of:
mysql_ mutex_lock( &LOCK_connectio n_count) ; count; mutex_unlock( &LOCK_connectio n_count) ;
++connection_
mysql_
in start_wsrep_THD.
and subsequent check:
if (*thd-> scheduler- >connection_ count >= thd->scheduler- >max_connection s + 1 || abort_loop)
*
in create_new_thread.