mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-28 20:02:00 +03:00
Address review comments
* Added unit tests for transaction::xa_detach() and transaction::xa_replay() * Added unit tests for wsrep::xid * Fixed minor issues pointed out by reviewer
This commit is contained in:
@ -184,13 +184,13 @@ namespace wsrep
|
||||
*/
|
||||
virtual enum wsrep::provider::status commit_by_xid() = 0;
|
||||
|
||||
/*
|
||||
Returns true if the client has an ongoing XA transaction.
|
||||
This method is used to determine when to cleanup the
|
||||
corresponding wsrep-lib transaction object.
|
||||
This method should return false when the XA transaction
|
||||
is over, and the wsrep-lib transaction object can be
|
||||
cleaned up.
|
||||
/**
|
||||
* Returns true if the client has an ongoing XA transaction.
|
||||
* This method is used to determine when to cleanup the
|
||||
* corresponding wsrep-lib transaction object.
|
||||
* This method should return false when the XA transaction
|
||||
* is over, and the wsrep-lib transaction object can be
|
||||
* cleaned up.
|
||||
*/
|
||||
virtual bool is_explicit_xa() = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user