Fix transaction replay timeout

The timeout would not be triggered due to the fact that the
delayed_retry_timeout wasn't inspected.
This commit is contained in:
Markus Mäkelä
2018-11-23 14:37:05 +02:00
parent 7bf5c07835
commit 842f9f1d15
2 changed files with 7 additions and 1 deletions

View File

@ -330,7 +330,7 @@ bool RWSplitSession::route_single_stmt(GWBUF* querybuf)
}
}
}
else if (can_retry_query() || m_is_replay_active)
else if (can_retry_query() || can_continue_trx_replay())
{
retry_query(gwbuf_clone(querybuf));
succp = true;