Check that replication is not shutting down before using _initialSyncer in _initialSyncerCompletionFunction

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.2.0, 5.1.0-rc1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Repl 2021-10-18
    • 176
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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

            Assignee:
            Huayu Ouyang
            Reporter:
            Huayu Ouyang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: