[SERVER-4873] Ability to force replica-set initial syncs from secondaries Created: 04/Feb/12 Updated: 15/Aug/12 Resolved: 15/Jul/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Greg Brockman | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
From reading rs_initialsync.cpp, it appears that there is no setting to ensure that new replicas do their initial syncs from secondaries. While you can fake it by e.g. setting up iptables rules dropping packets to the primary when the initial sync server selection happens, it'd be great to be able to just frob a setting to ensue this behavior. |