mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-28 20:02:00 +03:00
Pass transaction id instead of client id to storage service append_fragment()
This commit is contained in:
@ -194,6 +194,7 @@ int wsrep::client_state::after_statement()
|
||||
// wsrep::unique_lock<wsrep::mutex> lock(mutex_);
|
||||
debug_log_state("after_statement: enter");
|
||||
assert(state() == s_exec);
|
||||
assert(mode() == m_local);
|
||||
#if 0
|
||||
/**
|
||||
* @todo Check for replay state, do rollback if requested.
|
||||
|
@ -195,6 +195,7 @@ int wsrep::transaction::append_data(const wsrep::const_buffer& data)
|
||||
int wsrep::transaction::after_row()
|
||||
{
|
||||
wsrep::unique_lock<wsrep::mutex> lock(client_state_.mutex());
|
||||
debug_log_state("after_row_enter");
|
||||
if (streaming_context_.fragment_size() > 0)
|
||||
{
|
||||
switch (streaming_context_.fragment_unit())
|
||||
@ -843,7 +844,7 @@ int wsrep::transaction::certify_fragment(
|
||||
|
||||
if (storage_service.append_fragment(
|
||||
client_state_.server_state().id(),
|
||||
client_state_.id(),
|
||||
id(),
|
||||
flags_,
|
||||
wsrep::const_buffer(data.data(), data.size())))
|
||||
{
|
||||
|
Reference in New Issue
Block a user