[SERVER-68338] sync_source_changes.js needs to wait for heartbeat Created: 26/Jul/22  Updated: 29/Oct/23  Resolved: 29/Jul/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.4, 6.1.0-rc0, 5.0.18

Type: Bug Priority: Major - P3
Reporter: Matthew Russotto Assignee: Matthew Russotto
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v6.0, v5.0
Sprint: Repl 2022-08-08
Participants:
Linked BF Score: 5

 Description   

The sync source will not change from a node which is a non-voting node to a node which is not ahead (from the perspective of the syncing node). So before we can expect such a sync source change, we must wait for the syncing node see the sync source get ahead (via heartbeats).



 Comments   
Comment by Githook User [ 21/Apr/23 ]

Author:

{'name': 'Matthew Russotto', 'email': 'matthew.russotto@mongodb.com', 'username': 'mtrussotto'}

Message: SERVER-68338 sync_source_changes.js needs to wait for heartbeat

(cherry picked from commit 5f83f7ee5c4756c31dcf7e249aa200bf7718362e)
Branch: v5.0
https://github.com/mongodb/mongo/commit/b808cd6fa890dfdea3330b73b66903fe2d2d7eca

Comment by Githook User [ 02/Dec/22 ]

Author:

{'name': 'Matthew Russotto', 'email': 'matthew.russotto@mongodb.com', 'username': 'mtrussotto'}

Message: SERVER-68338 sync_source_changes.js needs to wait for heartbeat

(cherry picked from commit 5f83f7ee5c4756c31dcf7e249aa200bf7718362e)
Branch: v6.0
https://github.com/mongodb/mongo/commit/69cc757bea9f7d62cfea7309cebaaa55a95a3a3a

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