Backport query queue changes to 2.3
Backported the changes that convert the query queue in readwritesplit into a proper queue. This changes combines both 5e3198f8313b7bb33df386eb35986bfae1db94a3 and 6042a53cb31046b1100743723567906c5d8208e2 into one commit.
This commit is contained in:
@ -320,7 +320,7 @@ bool RWSplitSession::route_single_stmt(GWBUF* querybuf)
|
||||
else if (target->has_session_commands())
|
||||
{
|
||||
// We need to wait until the session commands are executed
|
||||
m_query_queue = gwbuf_append(m_query_queue, gwbuf_clone(querybuf));
|
||||
m_query_queue.emplace_back(gwbuf_clone(querybuf));
|
||||
MXS_INFO("Queuing query until '%s' completes session command", target->name());
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user