mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-08-08 02:02:57 +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:
@@ -85,7 +85,7 @@ namespace wsrep
|
||||
bool is_replaying() const WSREP_OVERRIDE { return replaying_; }
|
||||
void debug_crash(const char*) WSREP_OVERRIDE { /* Not in unit tests*/}
|
||||
|
||||
wsrep::client_state& client_state()
|
||||
wsrep::client_state& client_state() const WSREP_OVERRIDE
|
||||
{
|
||||
return *client_state_;
|
||||
}
|
||||
|
Reference in New Issue
Block a user