Details
Description
When replication is shutting down, and the replication_coordinator will swap the _initialSyncer pointer before shutting down initial sync . We should change the order of the if statements to make sure we are not in shutdown before referencing _initialSyncer in _initialSyncerCompletionFunction