Must destroy retryableOperation before entering Complete in initial_syncer

XMLWordPrintableJSON

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

      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 (Inactive)
            Reporter:
            Matthew Russotto (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: