[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: |
|
||||||||
| 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: (cherry picked from commit 5f83f7ee5c4756c31dcf7e249aa200bf7718362e) |
| Comment by Githook User [ 02/Dec/22 ] |
|
Author: {'name': 'Matthew Russotto', 'email': 'matthew.russotto@mongodb.com', 'username': 'mtrussotto'}Message: (cherry picked from commit 5f83f7ee5c4756c31dcf7e249aa200bf7718362e) |