-
Type: Bug
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Replication
-
None
-
ALL
It looks like ReplicationCoordinatorImpl::_performElectionHandoff() is waiting for a remote command while holding the repl coord mutex. Or have I missed something?
In addition, _performElectionHandoff() is only called from inside ReplicationCoordinatorImpl::stepDown(), and my reading of that function is that the global lock will also be held while _performElectionHandoff is called (although earlier it gets released, it then gets reacquired).
This code was added in SERVER-35623.
- related to
-
SERVER-35623 Send a replSetStepUp command to an eligible candidate on stepdown
- Closed