-
Type: Task
-
Resolution: Gone away
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.7.1
-
Component/s: Sharding
-
Sharding
Instead of storing recordIds and fetching the documents later, the migration process can instead use the repl::CollectionCloner to copy the contents of the collection when moving a big chunk with ignoreJumbo = true.
Steps:
- Enter critical section. This will block new writes from being applied to the collection.
- Skip MigrationChunkClonerSourceLegacy::startClone() on the donor shard.
- Send _recvChunkStart to recipient shard with useCloner: true.
- Recipient shard use repl::CollectionCloner to copy the collection
- Donor shard sends _configsvrCommitChunkMigration
- Donor cleans up chunk with RangeDeleter.
- related to
-
SERVER-32620 Allow moveChunk on unsharded collections
- Closed