[SERVER-40193] Do not propagate commit point through heartbeats when FCV=4.0 Created: 18/Mar/19  Updated: 29/Oct/23  Resolved: 21/Mar/19

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.1.10

Type: Bug Priority: Major - P3
Reporter: Tess Avitabile (Inactive) Assignee: Tess Avitabile (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
related to SERVER-40194 Revert SERVER-33248 on 4.0 Closed
related to SERVER-40211 Remove FCV check for propagating comm... Closed
is related to SERVER-39367 lastOpCommitted being reset on restar... Closed
is related to SERVER-33248 Allow choosing a sync source that we ... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Repl 2019-03-25
Participants:
Linked BF Score: 17

 Description   

In SERVER-39367, we started propagating the majority commit point through heartbeats. This causes sync source cycles in mixed 4.2/4.0 replica sets, since 4.0 nodes will sync from a node with the same lastApplied if it has a higher lastOpCommitted. We will not propagate the commit point through heartbeats unless FCV=4.2, so that there are no 4.0 nodes in the set.



 Comments   
Comment by Githook User [ 21/Mar/19 ]

Author:

{'name': 'Tess Avitabile', 'username': 'tessavitabile', 'email': 'tess.avitabile@mongodb.com'}

Message: SERVER-40193 Fix replication_coordinator_impl_test compile
Branch: master
https://github.com/mongodb/mongo/commit/8ee07239029c39d6b2bfdc1c75b870333c6cb806

Comment by Githook User [ 21/Mar/19 ]

Author:

{'name': 'Tess Avitabile', 'username': 'tessavitabile', 'email': 'tess.avitabile@mongodb.com'}

Message: SERVER-40193 Do not propagate commit point through heartbeats when FCV=4.0
Branch: master
https://github.com/mongodb/mongo/commit/2a4d8ed5bb64af081b887f17dabf298831866b1d

Generated at Thu Feb 08 04:54:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.