mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-30 07:23:07 +03:00
TOI replicating and applying codepaths
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
#include "db_client_service.hpp"
|
||||
#include "db_client.hpp"
|
||||
|
||||
int db::client_service::apply(const wsrep::const_buffer&)
|
||||
int db::client_service::apply_write_set(const wsrep::const_buffer&)
|
||||
{
|
||||
db::client* client(client_state_.client());
|
||||
client->se_trx_.start(client);
|
||||
@ -13,6 +13,11 @@ int db::client_service::apply(const wsrep::const_buffer&)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int db::client_service::apply_toi(const wsrep::const_buffer&)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int db::client_service::commit(const wsrep::ws_handle&,
|
||||
const wsrep::ws_meta&)
|
||||
{
|
||||
|
@ -67,7 +67,9 @@ namespace db
|
||||
void remove_fragments() override
|
||||
{ }
|
||||
|
||||
int apply(const wsrep::const_buffer&) override;
|
||||
int apply_write_set(const wsrep::const_buffer&) override;
|
||||
|
||||
int apply_toi(const wsrep::const_buffer&) override;
|
||||
|
||||
int commit(const wsrep::ws_handle&, const wsrep::ws_meta&) override;
|
||||
|
||||
|
Reference in New Issue
Block a user