[SERVER-28794] Only use PV0 style heartbeats when choosing to use PV0 Created: 13/Apr/17  Updated: 12/Oct/17  Resolved: 26/Sep/17

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 3.6.0-rc0

Type: Task Priority: Major - P3
Reporter: Judah Schvimer Assignee: Judah Schvimer
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Repl 2017-10-02
Participants:

 Description   

The default protocol version before initiation is still PV0. Additionally, the QuorumChecker for initiate and reconfig uses PV0 style heartbeats. In order to remove all PV0 code, including PV0 style heartbeat processing, we need the server to only send PV0 style heartbeats when PV0 is enabled. That way if in 3.8 we remove PV0, 3.8 servers will still be able to talk to 3.6 servers running PV1 (but not 3.6 servers running PV0), since they will only send PV1 style heartbeats.



 Comments   
Comment by Githook User [ 26/Sep/17 ]

Author:

{'email': 'judah@mongodb.com', 'name': 'Judah Schvimer', 'username': 'judahschvimer'}

Message: SERVER-28794 Only use PV0 style heartbeats when choosing to use PV0
Branch: master
https://github.com/mongodb/mongo/commit/e90f530a1f03490743bb66481e0011c72adaab53

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