mirror of https://gitee.com/bigwinds/arangodb
fix duplicate mutex (#3215)
This commit is contained in:
parent
bfa5224966
commit
0abbc3a3c6
|
@ -510,7 +510,7 @@ void Constituent::callElection() {
|
|||
|
||||
if (steady_clock::now() >= timeout) { // Timeout.
|
||||
MUTEX_LOCKER(locker, _castLock);
|
||||
follow(_term);
|
||||
followNoLock(_term);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue