[SERVER-47240] Add the "The live migration protocol" section to the sharding arch guide Created: 01/Apr/20  Updated: 29/Oct/23  Resolved: 17/Apr/20

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.7.0

Type: Task Priority: Major - P3
Reporter: Esha Maharishi (Inactive) Assignee: Alexander Taskov (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding 2020-04-20, Sharding 2020-05-04
Participants:

 Description   

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


 Comments   
Comment by Githook User [ 17/Apr/20 ]

Author:

{'name': 'Alex Taskov', 'email': 'alex.taskov@mongodb.com', 'username': 'alextaskov'}

Message: SERVER-47240 Add the "The live migration protocol" section to the sharding arch guide
Branch: master
https://github.com/mongodb/mongo/commit/8fa3fd63e5338dc7a0e1c156e74441e1c481fe10

Generated at Thu Feb 08 05:13:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.