[CONTROLLER-1104] Clustering : Make heartbeat messages higher priority Created: 14/Jan/15  Updated: 25/Jul/23  Resolved: 04/Feb/15

Status: Resolved
Project: controller
Component/s: mdsal
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Moiz Raja Assignee: Harman Singh
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 2589
Priority: High

 Description   

The RaftActor#Leader needs to more reliably deliver Heartbeat messages to it's Followers.
To ensure this we need to either make the SendHeartbeat message higher priority and use a priority mailbox to ensure that it gets scheduled ahead of all the other messages. Alternately we could also use a separate co-actor to send the heartbeats to the followers.

The goal is to ensure that in stable state elections do not get retriggered.



 Comments   
Comment by Tom Pantelis [ 03/Feb/15 ]

https://git.opendaylight.org/gerrit/#/c/14658/ added a separate Heartbeat actor but after much discussion it was decided to abandon these changes at this time.

Instead we can increase the heartbeat timeout factor (10 or maybe 20) to alleviate spurious re-elections due to delayed heartbeats.

Generated at Wed Feb 07 19:54:42 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.