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

Unsetting the AllowMigrations flag should abort ongoing migrations

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.2.0-rc0
    • None
    • Sharding
    • None
    • Fully Compatible
    • v5.0
    • 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

        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: