[SERVER-22656] Componentize Migration{Source,Dest}Manager Created: 16/Feb/16  Updated: 09/Dec/19  Resolved: 23/Mar/16

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

Type: Task Priority: Major - P3
Reporter: Kaloian Manassiev Assignee: Kaloian Manassiev
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-22657 Add invariants and write unit-tests f... Closed
is depended on by SERVER-22658 Implement support for legacy and new ... Closed
Related
related to SERVER-22116 Memory limit of MigrationSourceManage... Closed
Backwards Compatibility: Minor Change
Sprint: Sharding 11 (03/11/16), Sharding 12 (04/01/16)
Participants:

 Description   

Make the migration logic be entirely owned by the the migration source and destination managers and add abstractions so they can be unit-tested.



 Comments   
Comment by Githook User [ 23/Mar/16 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-22656 Componentize MigrationSourceManager

This change moves the entire chunk migration state machine to be driven by
the MigrationSourceManager and abstracts the cloning logic behind an interface
called MigrationChunkClonerSource with a default legacy implementation, which
uses the existing _migrateClone/_transferMods commands.
Branch: master
https://github.com/mongodb/mongo/commit/84223317a67211cf19d9ef1e944ef3fe12a819ac

Comment by Githook User [ 22/Mar/16 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-22656 Tighten assertions for move chunk donate

Moves the shard version checking during move chunk to happen at the time
of metadata clone instead of being decided in advance and tightens the
associated assertions.
Branch: master
https://github.com/mongodb/mongo/commit/622707b5ce4bde79cbf6df07bafc98038d5c7e8d

Comment by Githook User [ 18/Mar/16 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-22656 Use RAII classes to enter migration

Adds a RAII-style classes to put a shard into migration mode and acquire
distributed lock and adds means to register the migration on the global
sharding state.

Removes references to the global migration source manager from everywhere
but the migration code itself. All others will be referencing it from the
collection.
Branch: master
https://github.com/mongodb/mongo/commit/c5080cbfac539b5184d96e97b58c00fbfba7ab90

Comment by Githook User [ 02/Mar/16 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-22656 Move _recvChunkStart command parsing to separate class
Branch: master
https://github.com/mongodb/mongo/commit/52ccff6c2112f45fcf6869484e663371bcfc8cf8

Generated at Thu Feb 08 04:01:03 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.