mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-08-06 15:02:41 +03:00
Support detach on transaction prepare
Split method `transaction::xa_detach()` in `before_xa_detach()` and `after_xa_detach()`. This allows to handle bf abort or replay while transaction is detaching and to distinguish if a transaction is bf aborted before or after the DBMS has detached a transaction from its storage engine.
This commit is contained in:
@@ -34,6 +34,7 @@ namespace db
|
||||
const wsrep::ws_meta&) override;
|
||||
int next_fragment(const wsrep::ws_meta&) override;
|
||||
const wsrep::transaction& transaction() const override;
|
||||
wsrep::client_state& client_state() const override;
|
||||
int adopt_transaction(const wsrep::transaction&) override;
|
||||
int apply_write_set(const wsrep::ws_meta&,
|
||||
const wsrep::const_buffer&,
|
||||
|
Reference in New Issue
Block a user