[SERVER-35408] ReplicationCoordinatorExternalState and data replication must not be started after shutdown Created: 05/Jun/18  Updated: 06/Dec/22  Resolved: 05/Jun/18

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Matthew Russotto Assignee: Backlog - Replication Team
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-35407 ReplicationCoordinatorExternalState a... Closed
Assigned Teams:
Replication
Operating System: ALL
Participants:

 Description   

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.


Generated at Thu Feb 08 04:39:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.