[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: |