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

Add the "The live migration protocol" section to the sharding arch guide

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2020-04-20, Sharding 2020-05-04

      Guidelines:

      Should include

      • Why do we only allow a shard to donate/receive one chunk at a time? E.g. to avoid frequent StaleShardVersions
      • What is the serialization mechanism to make a shard only donate/receive one chunk at a time?
      • What are the phases of the live migration (e.g. bulk clone, transfer mods, commit)
      • Why do we update the ShardingStateRecovery document during migration and what is it used for?

      Code references

      • ActiveMigrationsRegistry class
      • MigrationSourceManager class
      • MigrationDestinationManager class
      • ShardingStateRecovery class

            Assignee:
            alex.taskov@mongodb.com Alexander Taskov (Inactive)
            Reporter:
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: