[SERVER-77856] Provide Atlas with a way to choose a specific initial sync sync source Created: 06/Jun/23  Updated: 29/Oct/23  Resolved: 01/Jul/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0, 7.0.0-rc7, 4.4.24, 5.0.20, 6.0.9

Type: New Feature Priority: Major - P3
Reporter: Judah Schvimer Assignee: Kaitlin Mahar
Resolution: Fixed Votes: 0
Labels: repl-shortlist
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
Assigned Teams:
Replication
Backwards Compatibility: Fully Compatible
Backport Requested:
v7.0, v6.0, v5.0, v4.4
Sprint: Repl 2023-06-26, Repl 2023-07-10
Participants:

 Description   

This should be undocumented and unsupported. We can likely base this off of the forceSyncSourceCandidate failpoint: https://github.com/mongodb/mongo/blob/4d67dd9561ed019f4a8017ec04a6aa1e82e0d11b/src/mongo/db/repl/topology_coordinator.cpp#L72, but this should guarantee that the node only ever uses the designated node as a sync source and would never use a different node (it's ok to hang or fail, ideally, if that won't work).



 Comments   
Comment by Githook User [ 11/Jul/23 ]

Author:

{'name': 'Kaitlin Mahar', 'email': 'kaitlin.mahar@mongodb.com', 'username': 'kmahar'}

Message: SERVER-77856 Add unsupported parameter to force a particular node as sync source

(cherry picked from commit 2cfe5ed33f5292d551b57ad9f59bfbd9a8b65c82)
Branch: v4.4
https://github.com/mongodb/mongo/commit/a37b29cfab318dc30c9a2ec6ab785ac48bf9328d

Comment by Githook User [ 05/Jul/23 ]

Author:

{'name': 'Kaitlin Mahar', 'email': 'kaitlin.mahar@mongodb.com', 'username': 'kmahar'}

Message: SERVER-77856 Add unsupported parameter to force a particular node as sync source

(cherry picked from commit 2cfe5ed33f5292d551b57ad9f59bfbd9a8b65c82)
Branch: v7.0
https://github.com/mongodb/mongo/commit/8c9f14725b1a5976177da19a8312957c8014d6f4

Comment by Githook User [ 03/Jul/23 ]

Author:

{'name': 'Kaitlin Mahar', 'email': 'kaitlin.mahar@mongodb.com', 'username': 'kmahar'}

Message: SERVER-77856 Add unsupported parameter to force a particular node as sync source

(cherry picked from commit 2cfe5ed33f5292d551b57ad9f59bfbd9a8b65c82)
Branch: v5.0
https://github.com/mongodb/mongo/commit/6c85847a7347c80d1cd7cc638550b7ab1cb43d37

Comment by Githook User [ 03/Jul/23 ]

Author:

{'name': 'Kaitlin Mahar', 'email': 'kaitlin.mahar@mongodb.com', 'username': 'kmahar'}

Message: SERVER-77856 Add unsupported parameter to force a particular node as sync source
Branch: EVG-17874-taskgen-test
https://github.com/mongodb/mongo/commit/2cfe5ed33f5292d551b57ad9f59bfbd9a8b65c82

Comment by Githook User [ 01/Jul/23 ]

Author:

{'name': 'Kaitlin Mahar', 'email': 'kaitlin.mahar@mongodb.com', 'username': 'kmahar'}

Message: SERVER-77856 Add unsupported parameter to force a particular node as sync source

(cherry picked from commit 2cfe5ed33f5292d551b57ad9f59bfbd9a8b65c82)
Branch: v6.0
https://github.com/mongodb/mongo/commit/0426fb7420231d75e4e557859e171b47b2e21bd2

Comment by Githook User [ 01/Jul/23 ]

Author:

{'name': 'Kaitlin Mahar', 'email': 'kaitlin.mahar@mongodb.com', 'username': 'kmahar'}

Message: SERVER-77856 Add unsupported parameter to force a particular node as sync source
Branch: master
https://github.com/mongodb/mongo/commit/2cfe5ed33f5292d551b57ad9f59bfbd9a8b65c82

Generated at Thu Feb 08 06:36:48 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.