-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
None
-
Fully Compatible
-
ALL
-
v4.2, v4.0
-
Repl 2019-11-04, Repl 2019-12-30
-
53
It is possible for the ReplicationCoordinatorImpl to call startThreads on the ReplicationCoordinatorExternalState after calling shutdown() on the external state. In this case the ReplicationCoordinatorExternalState should refuse to start.
Additionally, ReplicationCoordinatorImpl::_startDataReplication may be called after shutdown().
This calls _externalState->startSteadyStateReplication, which should also do nothing after shutdown.
Further, if initial sync is required, ReplicationCoordinatorImpl::_startDataReplication should avoid creating the initial syncer after shutdown.
- is duplicated by
-
SERVER-35408 ReplicationCoordinatorExternalState and data replication must not be started after shutdown
- Closed