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

Must destroy retryableOperation before entering Complete in initial_syncer

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Repl 2020-10-19, Repl 2020-11-02

      In certain cancellation scenarios, the InitialSyncer will be canceled with a retryableOperation still active.  If this operation is active when the InitialSyncer is destroyed, it will access an already-destroyed InitialSyncSharedData.  So we must destroy it in _finalCallback

       

      This was found in BACKPORT-7799 and so does not need to be backported to 4.4.

       

            Assignee:
            matthew.russotto@mongodb.com Matthew Russotto
            Reporter:
            matthew.russotto@mongodb.com Matthew Russotto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: