[SERVER-54256] Handle retryable errors when choosing a donor sync source Created: 03/Feb/21 Updated: 29/Oct/23 Resolved: 10/Feb/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Xuerui Fa | Assignee: | Xuerui Fa |
| 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: | Repl 2021-02-22 | ||||||||
| Participants: | |||||||||
| Description |
|
When choosing and connecting to a donor host, it seems unnecessary to restart the entire main future chain if we run into a retryable error. Instead, we should retry the error within _createAndConnectClients(). |
| Comments |
| Comment by Githook User [ 10/Feb/21 ] |
|
Author: {'name': 'XueruiFa', 'email': 'xuerui.fa@mongodb.com', 'username': 'XueruiFa'}Message: |
| Comment by Xuerui Fa [ 03/Feb/21 ] |
|
We may be able to merge the two JS tests added in |