[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:
Depends
Documented
is documented by DOCS-10930 Calling rs.syncFrom(<newNode>) during... Closed
Duplicate
duplicates SERVER-23476 Re-enable resync command for replica ... Closed
is duplicated by SERVER-9398 Provide read preference to control wh... Closed
is duplicated by SERVER-12872 Be able to guarantee who a node will ... Closed
Related
related to DOCS-6664 Initial sync source is much harder to... Closed
is related to SERVER-23476 Re-enable resync command for replica ... Closed
is related to SERVER-18041 Support parallel cloning during initi... Investigating
Assigned Teams:
Replication
Backwards Compatibility: Minor Change
Participants:

 Description   

Make replSetSyncFrom abort and restart the initial sync with the specified member.

Old Description:
Use a server parameter or config option to choose initial sync target.

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 SERVER-23476.

Comment by Anne Moroney [ 05/May/14 ]

Will @nosqldb's patch be accepted?
I came here from http://www.codejuggle.dj/facts-to-know-about-mongodb/

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.

Generated at Thu Feb 08 03:15:16 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.