[SERVER-51169] Add a helper function to tenant_migration_util.js for running donorStartMigration and retry on NotPrimary errors Created: 28/Sep/20  Updated: 29/Oct/23  Resolved: 28/Sep/20

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

Type: Task Priority: Major - P3
Reporter: Cheahuychou Mao Assignee: Cheahuychou Mao
Resolution: Fixed Votes: 0
Labels: pm-1791_milestone-C
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding 2020-10-05
Participants:

 Description   

Add a function similar to TenantMigrationUtil.startMigration that retries on NotPrimary errors, and update any tenant migration tests that should retry donorStartMigration on NotPrimary errors to use this function. 



 Comments   
Comment by Githook User [ 28/Sep/20 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}

Message: SERVER-51169 Add a helper function to tenant_migration_util.js for running donorStartMigration and retry on NotPrimary errors
Branch: master
https://github.com/mongodb/mongo/commit/4085db0d66c107cc6b475e3d4cc7e7a17d71ba93

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