mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-08-05 04:01:12 +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:
@@ -45,6 +45,11 @@ const wsrep::transaction& db::high_priority_service::transaction() const
|
||||
return client_.client_state().transaction();
|
||||
}
|
||||
|
||||
wsrep::client_state& db::high_priority_service::client_state() const
|
||||
{
|
||||
return client_.client_state();
|
||||
}
|
||||
|
||||
int db::high_priority_service::adopt_transaction(const wsrep::transaction&)
|
||||
{
|
||||
throw wsrep::not_implemented_error();
|
||||
|
Reference in New Issue
Block a user