[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:
Problem/Incident
Related
related to SERVER-50489 [polish] Not link ReplicaSetAwareServ... Closed
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: SERVER-50066 Rehost tenant migration donor's logic on Primary-Only Service
Branch: master
https://github.com/mongodb/mongo/commit/0cbcb7f3825461348db9b9fb4bc951baf1f0c832

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