[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:
Depends
is depended on by SERVER-50972 Make tenant migration donor startup r... Closed
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: 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
Branch: master
https://github.com/mongodb/mongo/commit/96f566cef77449cf4dd304840fe770393106fc65

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