mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-28 20:02:00 +03:00
Introduced adopt_transaction() for storage_service interface
A SR transaction must be adopted by a storage service instance running in background rollbacker thread while it is aborting a SR transaction.
This commit is contained in:
@ -23,7 +23,7 @@ namespace wsrep
|
||||
// Forward declarations
|
||||
class ws_handle;
|
||||
class ws_meta;
|
||||
|
||||
class transaction;
|
||||
|
||||
/**
|
||||
* Storage service abstract interface.
|
||||
@ -41,6 +41,7 @@ namespace wsrep
|
||||
*/
|
||||
virtual int start_transaction(const wsrep::ws_handle&) = 0;
|
||||
|
||||
virtual void adopt_transaction(const wsrep::transaction&) = 0;
|
||||
/**
|
||||
* Append fragment into stable storage.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user