Issue with wsrep_slave_threads
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
MySQL patches by Codership |
New
|
High
|
Unassigned | |||
5.5 |
New
|
High
|
Unassigned | |||
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC | Status tracked in 5.6 | |||||
5.5 |
Fix Released
|
Undecided
|
Unassigned | |||
5.6 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
set global wsrep_slave_
set global wsrep_slave_
set global wsrep_slave_
causes total number of threads to 24. This is because there is no condition checking for this.
=== modified file 'sql/wsrep_
--- sql/wsrep_
+++ sql/wsrep_
@@ -325,6 +325,7 @@
if (wsrep_
{
+ WSREP_DEBUG(
*exit = true;
}
mysql_
=== modified file 'sql/wsrep_var.cc'
--- sql/wsrep_var.cc 2014-02-27 11:31:26 +0000
+++ sql/wsrep_var.cc 2014-03-10 23:22:30 +0000
@@ -475,17 +475,22 @@
bool wsrep_slave_
{
+ if (wsrep_
+ WSREP_DEBUG("Still closing existing threads - %d", abs(wsrep_
+ return true;
+ }
mysql_
wsrep_
mysql_
- return 0;
+ return false;
}
bool wsrep_slave_
{
if (wsrep_
{
+ WSREP_DEBUG(
wsrep_
wsrep_
}
Percona now uses JIRA for bug reports so this bug report is migrated to: https:/ /jira.percona. com/browse/ PXC-1646