Commit 7cf10ddf authored by Seppo Jaakola's avatar Seppo Jaakola

References lp:1208493 https://mariadb.atlassian.net/browse/MDEV-4830

Enabling slave applier thread to send COND_thread_count
parent 93ed851c
...@@ -8431,13 +8431,11 @@ void wsrep_replication_process(THD *thd) ...@@ -8431,13 +8431,11 @@ void wsrep_replication_process(THD *thd)
break; break;
} }
if (thd->killed != KILL_CONNECTION) mysql_mutex_lock(&LOCK_thread_count);
{ wsrep_close_applier(thd);
mysql_mutex_lock(&LOCK_thread_count); mysql_cond_broadcast(&COND_thread_count);
wsrep_close_applier(thd); mysql_mutex_unlock(&LOCK_thread_count);
mysql_cond_broadcast(&COND_thread_count);
mysql_mutex_unlock(&LOCK_thread_count);
}
wsrep_return_from_bf_mode(thd, &shadow); wsrep_return_from_bf_mode(thd, &shadow);
DBUG_VOID_RETURN; DBUG_VOID_RETURN;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment