Add extra info logging to readwritesplit

Added logging into RWBackend reply state processing code to know more.
This commit is contained in:
Markus Mäkelä
2019-03-29 14:14:26 +02:00
parent bc5f9da6c4
commit e6526dd9ea
2 changed files with 24 additions and 0 deletions

View File

@ -254,6 +254,9 @@ void RWBackend::process_reply(GWBUF* buffer)
}
}
MXS_DEBUG("cmd: %02hhx bytes: %u packets: %d state: %s", mxs_mysql_get_command(buffer),
gwbuf_length(buffer), modutil_count_packets(buffer), reply_state_str());
if (get_reply_state() == REPLY_STATE_DONE)
{
ack_write();