mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-28 20:02:00 +03:00
Add lock argument to server_service::background_rollback()
This is to allow implementation to temporarily release the lock if needed.
This commit is contained in:
@ -85,8 +85,14 @@ namespace wsrep
|
||||
|
||||
/**
|
||||
* Perform a background rollback for a transaction.
|
||||
*
|
||||
* @param lock Lock protecting client state.
|
||||
* @param client_state Client session to do background rollback
|
||||
* for.
|
||||
*/
|
||||
virtual void background_rollback(wsrep::client_state&) = 0;
|
||||
virtual void background_rollback(wsrep::unique_lock<wsrep::mutex>& lock,
|
||||
wsrep::client_state& client_state)
|
||||
= 0;
|
||||
|
||||
/**
|
||||
* Bootstrap a DBMS state for a new cluster.
|
||||
|
Reference in New Issue
Block a user