mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge 10.3 into 10.4
This commit is contained in:
@ -46,7 +46,7 @@ wsrep::storage_service* Wsrep_server_service::storage_service(
|
||||
{
|
||||
Wsrep_client_service& cs=
|
||||
static_cast<Wsrep_client_service&>(client_service);
|
||||
THD* thd= new THD(next_thread_id(), true, true);
|
||||
THD* thd= new THD(next_thread_id(), true);
|
||||
init_service_thd(thd, cs.m_thd->thread_stack);
|
||||
WSREP_DEBUG("Created storage service with thread id %llu",
|
||||
thd->thread_id);
|
||||
@ -58,7 +58,7 @@ wsrep::storage_service* Wsrep_server_service::storage_service(
|
||||
{
|
||||
Wsrep_high_priority_service& hps=
|
||||
static_cast<Wsrep_high_priority_service&>(high_priority_service);
|
||||
THD* thd= new THD(next_thread_id(), true, true);
|
||||
THD* thd= new THD(next_thread_id(), true);
|
||||
init_service_thd(thd, hps.m_thd->thread_stack);
|
||||
WSREP_DEBUG("Created high priority storage service with thread id %llu",
|
||||
thd->thread_id);
|
||||
@ -81,7 +81,7 @@ Wsrep_server_service::streaming_applier_service(
|
||||
{
|
||||
Wsrep_client_service& orig_cs=
|
||||
static_cast<Wsrep_client_service&>(orig_client_service);
|
||||
THD* thd= new THD(next_thread_id(), true, true);
|
||||
THD* thd= new THD(next_thread_id(), true);
|
||||
init_service_thd(thd, orig_cs.m_thd->thread_stack);
|
||||
WSREP_DEBUG("Created streaming applier service in local context with "
|
||||
"thread id %llu", thd->thread_id);
|
||||
@ -94,7 +94,7 @@ Wsrep_server_service::streaming_applier_service(
|
||||
{
|
||||
Wsrep_high_priority_service&
|
||||
orig_hps(static_cast<Wsrep_high_priority_service&>(orig_high_priority_service));
|
||||
THD* thd= new THD(next_thread_id(), true, true);
|
||||
THD* thd= new THD(next_thread_id(), true);
|
||||
init_service_thd(thd, orig_hps.m_thd->thread_stack);
|
||||
WSREP_DEBUG("Created streaming applier service in high priority "
|
||||
"context with thread id %llu", thd->thread_id);
|
||||
|
Reference in New Issue
Block a user