Use shared configurations in readwritesplit
By using a shared pointer instead of a plain object, we can replace the router configuration without it affecting existing sessions. This is a change that is required to enable runtime reconfiguration of readwritesplit.
This commit is contained in:
@ -116,7 +116,7 @@ bool RWSplitSession::handle_target_is_all(route_target_t route_target, GWBUF *qu
|
||||
{
|
||||
// TODO: Append to the already stored session command instead of disabling history
|
||||
MXS_INFO("Large session write, have to disable session command history");
|
||||
m_config.disable_sescmd_history = true;
|
||||
m_config->disable_sescmd_history = true;
|
||||
|
||||
continue_large_session_write(querybuf, qtype);
|
||||
result = true;
|
||||
|
||||
Reference in New Issue
Block a user