Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-60468

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

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

      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@mongodb.com Huayu Ouyang
            Reporter:
            huayu.ouyang@mongodb.com Huayu Ouyang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: