mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-30 07:23:07 +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:
@ -49,6 +49,8 @@ namespace wsrep
|
||||
(void)client_service().bf_rollback();
|
||||
}
|
||||
}
|
||||
void lock() { mutex_.lock(); }
|
||||
void unlock() { mutex_.unlock(); }
|
||||
private:
|
||||
wsrep::default_mutex mutex_;
|
||||
wsrep::default_condition_variable cond_;
|
||||
|
Reference in New Issue
Block a user