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

Unsetting the AllowMigrations flag should abort ongoing migrations

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.2.0-rc0
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • v5.0
    • Sharding EMEA 2021-12-13
    • 106

      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.

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

              Created:
              Updated:
              Resolved: