[SERVER-50066] Rehost tenant migration donor's logic on Primary-Only Service Created: 01/Aug/20 Updated: 29/Oct/23 Resolved: 24/Aug/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 4.7.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Esha Maharishi (Inactive) | Assignee: | Cheahuychou Mao |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | pm-1791_milestone-A | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Sprint: | Sharding 2020-09-07 | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 23 | ||||||||||||
| Description |
|
Most of theĀ external interface for PrimaryOnlyService has now been committed. This ticket is to rehost the donor's logic onto a PrimaryOnlyService::TypedInstance. See this unit test that has example of extending PrimaryOnlyService::TypedInstance. CC spencer, matthew.russotto, ben.caimano Edit: This ticket will need to create a class for the donor that extends PrimaryOnlyService::TypedInstance. We have also been talking about putting the donor's logic directly in the TenantMigrationAccessBlocker so that the migration's state does not need to be passed around in a 'donorStateDoc'. So, it would be convenient to use this ticket to move the donor's logic into TenantMigrationAccessBlocker (renaming it to "TenantMigrationDonor") and making this the class that extends PrimaryOnlyService::TypedInstance. |
| Comments |
| Comment by Githook User [ 24/Aug/20 ] |
|
Author: {'name': 'Cheahuychou Mao', 'email': 'cheahuychou.mao@mongodb.com', 'username': 'cheahuychou'}Message: |