mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-31 18:24:25 +03:00
Fixes for XA transactions with streaming enabled
Changes mostly related to handling of XA PREPARE fragments
This commit is contained in:
committed by
Daniele Sciascia
parent
54b0eeee45
commit
36346beab4
@ -48,6 +48,10 @@ namespace db
|
||||
{
|
||||
return false;
|
||||
}
|
||||
bool is_xa_prepare () const override
|
||||
{
|
||||
return false;
|
||||
}
|
||||
size_t bytes_generated() const override
|
||||
{
|
||||
return 0;
|
||||
|
@ -35,6 +35,11 @@ int db::high_priority_service::start_transaction(
|
||||
return client_.client_state().start_transaction(ws_handle, ws_meta);
|
||||
}
|
||||
|
||||
int db::high_priority_service::next_fragment(const wsrep::ws_meta& ws_meta)
|
||||
{
|
||||
return client_.client_state().next_fragment(ws_meta);
|
||||
}
|
||||
|
||||
const wsrep::transaction& db::high_priority_service::transaction() const
|
||||
{
|
||||
return client_.client_state().transaction();
|
||||
|
@ -32,6 +32,7 @@ namespace db
|
||||
high_priority_service(db::server& server, db::client& client);
|
||||
int start_transaction(const wsrep::ws_handle&,
|
||||
const wsrep::ws_meta&) override;
|
||||
int next_fragment(const wsrep::ws_meta&) override;
|
||||
const wsrep::transaction& transaction() const override;
|
||||
int adopt_transaction(const wsrep::transaction&) override;
|
||||
int apply_write_set(const wsrep::ws_meta&,
|
||||
|
Reference in New Issue
Block a user