1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-06-16 02:01:44 +03:00

Split client_context::after_command() into two stages, before

sending result to client and after the result was sent. Added
s_result state to client_context states.
This commit is contained in:
Teemu Ollakka
2018-06-02 15:55:54 +03:00
parent c73e7c8f5d
commit 188bda1339
5 changed files with 59 additions and 22 deletions

View File

@ -323,7 +323,8 @@ int trrep::server_context::on_apply(
if (not_replaying)
{
client_context.after_statement();
client_context.after_command();
client_context.after_command_before_result();
client_context.after_command_after_result();
}
assert(ret ||
txc.state() == trrep::transaction_context::s_committed);