[SERVER-7680] Have replSetSyncFrom restart initialSync/resync with host specified Created: 15/Nov/12 Updated: 06/Dec/22 Resolved: 22/Aug/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Scott Hernandez (Inactive) | Assignee: | Backlog - Replication Team |
| Resolution: | Duplicate | Votes: | 8 |
| Labels: | int, sync | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||
| Assigned Teams: |
Replication
|
||||||||||||||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Minor Change | ||||||||||||||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
Make replSetSyncFrom abort and restart the initial sync with the specified member. Old Description: Or, allow replSetSyncFrom to stop the initial sync and restart with the source specified. |
| Comments |
| Comment by Ian Whalen (Inactive) [ 26/Apr/19 ] |
|
Switching "Drivers Changes Needed" from "Maybe" to "Not Needed" since this was closed as something other than Fixed. |
| Comment by Scott Hernandez (Inactive) [ 22/Aug/16 ] |
|
Fixed with work done on |
| Comment by Anne Moroney [ 05/May/14 ] |
|
Will @nosqldb's patch be accepted? |
| Comment by nosqldb [ 11/Feb/14 ] |
|
I wrote a simple patch by add "syncFrom" parameter in mongod |
| Comment by Scott Hernandez (Inactive) [ 10/Feb/14 ] |
|
As a workaround, you can kill the queries on the current source and the new source should be used when it retries. Others have put a firewall/rules to disable communication until it has to retry and will use the specified source. |