# Raft Leader Elect

![left](./student-guide/diagram/RaftLeaderElect02_aa_001_20220511.png)

------------------------------------------------------------
We just introduced that the election timeout triggered the elect. Next, let's assume that the leader of the cluster that is undergoing data replication suddenly goes down (or network isolation). Due to the existence of the heartbeat time interval (leader sending heartbeat interval), it is not received for a long time After the leader's heartbeat, there will be followers who increment their term logo, change themselves to the candidate role, and vote for themselves. At the same time, a voting request is made to the other nodes of the cluster. The request contains the term value that you just incremented. As a result, the above voting work was repeated, so that a new leader will be created soon after.