[SERVER-19953] arbiter should ignore heartbeat interval in config Created: 14/Aug/15  Updated: 19/Sep/15  Resolved: 31/Aug/15

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

Type: Task Priority: Major - P3
Reporter: Eric Milkie Assignee: Scott Hernandez (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: RPL 8 08/31/15
Participants:

 Description   

As per spec, arbiters should not respect the heartbeat interval in the replica set config, since they are not using updatePosition to announce their liveness to the primary (although eventually they could, by choosing the primary as their sync source).
Instead, they should use the keepalive interval for their heartbeat period, where the keepalive interval is calculated as half the electionTimeout. This keepalive interval is already used to send keepalives in updatePosition.



 Comments   
Comment by Githook User [ 31/Aug/15 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-19953: arbiters ignore heartbeat interval
Branch: master
https://github.com/mongodb/mongo/commit/18b5dbd7ebb80cfa0c07a0f480554293c1a0b3f7

Generated at Thu Feb 08 03:52:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.