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

Designate the MigrationDestinationManager's migrateThread as system operation killable

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.6.14, 4.0.12, 4.2.0
    • 4.2.1, 4.3.1
    • Sharding
    • None
    • Fully Compatible
    • ALL
    • v4.2
    • Sharding 2019-09-09, Sharding 2019-09-23
    • 0

    Description

      Currently, the migrateThread is not designated as system operation killable. This means that a stepdown will skip killing the migration, which could lead to a deadlock as seen in the linked BF. The solution is easy – add this line as seen with the range deleter to the migrateThread here.

      Attachments

        Issue Links

          Activity

            People

              randolph@mongodb.com Randolph Tan
              blake.oler@mongodb.com Blake Oler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: