mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-06-16 02:01:44 +03:00
Fixes required to 1PC streaming replay to pass.
This commit is contained in:
@ -164,9 +164,23 @@ int wsrep::server_context::on_apply(
|
||||
assert(ret ||
|
||||
txc.state() == wsrep::transaction_context::s_committed);
|
||||
}
|
||||
else if (commits_transaction(ws_meta.flags()))
|
||||
{
|
||||
if (not_replaying)
|
||||
{
|
||||
// SR commit not implemented yet
|
||||
assert(0);
|
||||
}
|
||||
else
|
||||
{
|
||||
ret = client_context.start_replaying() ||
|
||||
client_context.apply(wsrep::const_buffer()) ||
|
||||
client_context.commit();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// SR not implemented yet
|
||||
// SR fragment applying not implemented yet
|
||||
assert(0);
|
||||
}
|
||||
if (not_replaying)
|
||||
|
Reference in New Issue
Block a user