Comment 1 for bug 1315588

Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

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.