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

MigrationSourceManager is not exception safe before `startClone` completes

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

            matthew.saltz@mongodb.com Matthew Saltz
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: