Log interrupting packet's type during trx replay
This will allow non-SQL commands to be detected.
This commit is contained in:
@ -124,7 +124,8 @@ int32_t RWSplitSession::routeQuery(GWBUF* querybuf)
|
|||||||
|
|
||||||
if (m_is_replay_active && !GWBUF_IS_REPLAYED(querybuf))
|
if (m_is_replay_active && !GWBUF_IS_REPLAYED(querybuf))
|
||||||
{
|
{
|
||||||
MXS_INFO("New query received while transaction replay is active: %s",
|
MXS_INFO("New %s received while transaction replay is active: %s",
|
||||||
|
STRPACKETTYPE(GWBUF_DATA(querybuf)[4]),
|
||||||
mxs::extract_sql(querybuf).c_str());
|
mxs::extract_sql(querybuf).c_str());
|
||||||
m_query_queue.emplace_back(querybuf);
|
m_query_queue.emplace_back(querybuf);
|
||||||
return 1;
|
return 1;
|
||||||
|
Reference in New Issue
Block a user