eliben/raft

Why we do not check errors in AE responses?

mfatemipour opened this issue · 1 comments

Hi, Assume that the state of the node is leader and a network partition happened, node send AE (heartbeat) to other nodes and all of the requests failed or timed out, node remain leader.
Is this supposed behaviour ?

What alternative would you propose?

Keep in mind that most network partitions are temporary glitches. This is why followers have a timeout for heartbeats from leaders.