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

Create a new command to join a generic chunk migration on a donor/recipient shard.

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.0-rc8, 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v6.0
    • Sharding EMEA 2022-05-30
    • 171

      On startup time, the Balancer needs to wait for the completion of all the outstanding chunk migrations executed across the cluster before generating new requests.

      In the past this was achieved by persisting in config.migrations a recovery doc for every moveChunk requested and repeating the command for every unanswered one upon a config server step down/crash.

      The same approach cannot be adopted to recover moveRange commands (which semantics are slightly different) without causing undesired side effects when the cluster gets downgraded.

      A more generic alternative could be built upon a new command that allows a client to wait until the contacted shard is no longer involved in any migration activity.

            Assignee:
            paolo.polato@mongodb.com Paolo Polato
            Reporter:
            paolo.polato@mongodb.com Paolo Polato
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: