mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-30 07:23:07 +03:00
Implemented SR transaction rollback.
This commit is contained in:
@ -20,6 +20,11 @@ int db::high_priority_service::start_transaction(
|
||||
return client_.client_state().start_transaction(ws_handle, ws_meta);
|
||||
}
|
||||
|
||||
const wsrep::transaction& db::high_priority_service::transaction() const
|
||||
{
|
||||
return client_.client_state().transaction();
|
||||
}
|
||||
|
||||
void db::high_priority_service::adopt_transaction(const wsrep::transaction&)
|
||||
{
|
||||
throw wsrep::not_implemented_error();
|
||||
|
@ -17,6 +17,7 @@ namespace db
|
||||
high_priority_service(db::server& server, db::client& client);
|
||||
int start_transaction(const wsrep::ws_handle&,
|
||||
const wsrep::ws_meta&) override;
|
||||
const wsrep::transaction& transaction() const override;
|
||||
void adopt_transaction(const wsrep::transaction&) override;
|
||||
int apply_write_set(const wsrep::ws_meta&,
|
||||
const wsrep::const_buffer&) override;
|
||||
|
Reference in New Issue
Block a user