MigrationSourceManager is not exception safe before `startClone` completes

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • v4.0, v3.6
    • Sharding 2018-10-22, Sharding 2018-11-19
    • 56
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The MigrationSourceManager::cleanupOnError logic invariants that the MSM has been installed on the specified collection before cleaning it up. However this may not be the case if the exception/return occurs early in the execution of MigrationSourceManager::startClone, such as here or here.

              Assignee:
              Matthew Saltz (Inactive)
              Reporter:
              Kaloian Manassiev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: