[SERVER-50616] TenantMigrationDonor should retry its steps until success, the donor node is stepping down or shutting down, or the donor gets an error that should lead to an abort decision Created: 28/Aug/20 Updated: 29/Oct/23 Resolved: 17/Sep/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 4.8.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Esha Maharishi (Inactive) | Assignee: | Cheahuychou Mao |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | pm-1791_milestone-D | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Sharding 2020-09-21 | ||||||||
| Participants: | |||||||||
| Description |
|
The TenantMigrationDonor's steps should be wrapped in AsyncTry loops to keep retrying until success, the donor node is stepping down or shutting down, or the step generates an error that cannot be retried on and should cause the donor to make an abort decision. I am not currently aware of any errors that should lead to an abort decision, so for now we can assume every error can be retried on. Perhaps we will uncover some such errors through passthrough testing. See example of using AsyncTry. |
| Comments |
| Comment by Githook User [ 17/Sep/20 ] |
|
Author: {'name': 'Cheahuychou Mao', 'email': 'cheahuychou.mao@mongodb.com', 'username': 'cheahuychou'}Message: |