MXS-2189: Prevent unwanted trx replay
When a transaction is being executed on a slave and the master fails, the transaction replay would start.
This commit is contained in:
parent
c372bd8985
commit
da83551493
@ -920,7 +920,7 @@ void RWSplitSession::handleError(GWBUF* errmsgbuf,
|
||||
}
|
||||
}
|
||||
|
||||
if (session_trx_is_active(session))
|
||||
if (session_trx_is_active(session) && m_otrx_state == OTRX_INACTIVE)
|
||||
{
|
||||
can_continue = start_trx_replay();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user