mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-02 05:22:26 +03:00
Interface changes required to store and remove fragments from high
priority context.
This commit is contained in:
@ -25,7 +25,9 @@ void db::high_priority_service::adopt_transaction(const wsrep::transaction&)
|
||||
throw wsrep::not_implemented_error();
|
||||
}
|
||||
|
||||
int db::high_priority_service::apply_write_set(const wsrep::const_buffer&)
|
||||
int db::high_priority_service::apply_write_set(
|
||||
const wsrep::ws_meta&,
|
||||
const wsrep::const_buffer&)
|
||||
{
|
||||
client_.se_trx_.start(&client_);
|
||||
client_.se_trx_.apply(client_.client_state().transaction());
|
||||
|
@ -18,10 +18,15 @@ namespace db
|
||||
int start_transaction(const wsrep::ws_handle&,
|
||||
const wsrep::ws_meta&) override;
|
||||
void adopt_transaction(const wsrep::transaction&) override;
|
||||
int apply_write_set(const wsrep::const_buffer&) override;
|
||||
int append_fragment(const wsrep::ws_meta&, const wsrep::const_buffer&)
|
||||
int apply_write_set(const wsrep::ws_meta&,
|
||||
const wsrep::const_buffer&) override;
|
||||
int append_fragment_and_commit(
|
||||
const wsrep::ws_handle&,
|
||||
const wsrep::ws_meta&, const wsrep::const_buffer&)
|
||||
override
|
||||
{ return 0; }
|
||||
int remove_fragments(const wsrep::ws_meta&) override
|
||||
{ return 0; }
|
||||
int commit(const wsrep::ws_handle&, const wsrep::ws_meta&) override;
|
||||
int rollback() override;
|
||||
int apply_toi(const wsrep::ws_meta&, const wsrep::const_buffer&) override;
|
||||
|
Reference in New Issue
Block a user