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

MigrationSourceManager is not exception safe before `startClone` completes

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.0, v3.6
    • Sprint:
      Sharding 2018-10-22, Sharding 2018-11-19
    • Linked BF Score:
      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

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: