mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-28 20:02:00 +03:00
More unit tests for streaming replication.
This commit is contained in:
@ -229,6 +229,12 @@ namespace wsrep
|
||||
return transaction_.start_transaction(wsh, meta);
|
||||
}
|
||||
|
||||
int start_replaying()
|
||||
{
|
||||
assert(mode_ == m_applier);
|
||||
return transaction_.start_replaying();
|
||||
}
|
||||
|
||||
void adopt_transaction(wsrep::transaction_context& transaction)
|
||||
{
|
||||
transaction_.start_transaction(transaction.id());
|
||||
|
@ -92,6 +92,8 @@ namespace wsrep
|
||||
int start_transaction(const wsrep::ws_handle& ws_handle,
|
||||
const wsrep::ws_meta& ws_meta);
|
||||
|
||||
int start_replaying();
|
||||
|
||||
int append_key(const wsrep::key&);
|
||||
|
||||
int append_data(const wsrep::const_buffer&);
|
||||
|
Reference in New Issue
Block a user