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

Unsetting the AllowMigrations flag should abort ongoing migrations

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.0.6
    • Sharding
    • None
    • Fully Compatible
    • Sharding EMEA 2021-12-13
    • 106

    Description

      In order to be able to remove the DistLock we will have to give more strong guarantees to the allowMigrations flag. The current meaning of this flag when it is unset is:

      • ongoing migrations will fail to commit,
      • new migrations will not be able to start.

      Note that ongoing migrations are not aborted: they will just fail when they tried to commit the moveChunk on the configserver.

      The goal of this task is to introduce a way to interrupt ongoing migrations and wait for them.

      Attachments

        Issue Links

          Activity

            People

              kaloian.manassiev@mongodb.com Kaloian Manassiev
              sergi.mateo-bellido@mongodb.com Sergi Mateo Bellido
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: