mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-31 18:24:25 +03:00
In order to avoid potential deadlocks, release client_state lock when
calling server state methods which may acquire server_state mutex. Fixed compilation errors in release mode.
This commit is contained in:
@ -929,7 +929,8 @@ int wsrep::server_state::desync(wsrep::unique_lock<wsrep::mutex>& lock)
|
||||
return ret;
|
||||
}
|
||||
|
||||
void wsrep::server_state::resync(wsrep::unique_lock<wsrep::mutex>& lock)
|
||||
void wsrep::server_state::resync(wsrep::unique_lock<wsrep::mutex>&
|
||||
lock WSREP_UNUSED)
|
||||
{
|
||||
assert(lock.owns_lock());
|
||||
assert(desync_count_ > 0);
|
||||
|
Reference in New Issue
Block a user