[SERVER-22657] Add invariants and write unit-tests for the legacy migration chunk cloner Created: 16/Feb/16  Updated: 05/Apr/17  Resolved: 18/Nov/16

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 3.4.1, 3.5.1

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
depends on SERVER-22656 Componentize Migration{Source,Dest}Ma... Closed
Related
related to SERVER-27215 Some invariants in MigrationChunkClon... Closed
Backwards Compatibility: Fully Compatible
Backport Completed:
Sprint: Sharding 15 (06/03/16), Sharding 16 (06/24/16), Sharding 2016-09-19, Sharding 2016-10-10, Sharding 2016-10-31, Sharding 2016-11-21, Sharding 2016-12-12
Participants:

 Description   

Add invariants in the legacy migration chunk cloner to ensure that documents are not being written after the last batch has been transferred and write unit tests.



 Comments   
Comment by Githook User [ 05/Dec/16 ]

Author:

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

Message: SERVER-22657,SERVER-27215 Unit-tests for MigrationChunkClonerSourceLegacy

(cherry picked from commit ee84af83abda81bdd5c1fdf2d831c4979d739f8c)
(cherry picked from commit 39c985be5b049edbbb1289eba2bb6f4b44fcb00e)
Branch: v3.4
https://github.com/mongodb/mongo/commit/7ca7bcbfb746ef945afcda91569ea34a2c2738ec

Comment by Githook User [ 18/Nov/16 ]

Author:

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

Message: SERVER-22657 Unit-tests for MigrationChunkClonerSourceLegacy
Branch: master
https://github.com/mongodb/mongo/commit/ee84af83abda81bdd5c1fdf2d831c4979d739f8c

Comment by Githook User [ 16/Nov/16 ]

Author:

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

Message: Revert "SERVER-22657 Cleanup CollectionShardingState test and configsvr commands"

This reverts commit 19449d2883f2a97b622102935a63606d950573ad.
Branch: master
https://github.com/mongodb/mongo/commit/54021ac0673ebab43c7579db0958f6fe3e70432b

Comment by Githook User [ 16/Nov/16 ]

Author:

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

Message: SERVER-22657 Cleanup CollectionShardingState test and configsvr commands
Branch: master
https://github.com/mongodb/mongo/commit/19449d2883f2a97b622102935a63606d950573ad

Comment by Githook User [ 11/Nov/16 ]

Author:

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

Message: SERVER-22657 Make MigrationChunkClonerSourceLegacy not do host resolution

No functional changes, just a cleanup to move the resolution of the
recipient shard's primary out of MigrationChunkClonerSourceLegacy in order
to make it simpler for unit-testing.
Branch: master
https://github.com/mongodb/mongo/commit/cbb4e60d3e2756f5861372121228a6fe82a3cedb

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