Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What happens when a heartbeat is missed?

happens heartbeat missed
0
Posted

What happens when a heartbeat is missed?

0

A missed heartbeat is detected when heartbeat interval occurs and no heartbeat is detected. When no heartbeat is detected during a NODE_TIMEOUT interval, the current cluster coordinator initiates a cluster reformation. If the heartbeat interval is one a second, and the node timeout interval is two seconds, it takes two consecutive missed heartbeats to cause the node to be timed out and a cluster reformation to start. Cluster reformation involves informing all nodes of the reformation (including the node which missed the heartbeat), voting for a new cluster coordinator, and reforming the cluster (the new cluster is based upon the number of nodes which responded during the reformation). If the node which timedout is able to respond during the reformation, the reformation will end up with the same number of nodes in the cluster and your packages will not be affected.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.