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

Designate the MigrationDestinationManager's migrateThread as system operation killable

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.2.1, 4.3.1
    • Affects Version/s: 3.6.14, 4.0.12, 4.2.0
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • v4.2
    • Sharding 2019-09-09, Sharding 2019-09-23
    • 0

      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.

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

              Created:
              Updated:
              Resolved: