Tan xinyu created IOTDB-613:
-------------------------------

             Summary: [Distributed] Add the ability to persist and maintain 
currentterm for the raft node
                 Key: IOTDB-613
                 URL: https://issues.apache.org/jira/browse/IOTDB-613
             Project: Apache IoTDB
          Issue Type: Improvement
          Components: Core/Cluster
            Reporter: Tan xinyu


This is the quote from raft's paper.
{quote}Raft servers must persist enough information to stable storage to 
survive server restarts safely. In particular, each server persists its current 
term and vote; this is necessary to prevent the server from voting twice in the 
same term or replacing log entries from a newer leader with those from a 
deposed leader. Each server also persists new log entries before they are 
counted towards the entries’ commitment; this prevents committed entries from 
being lost or “uncommitted” when servers restart.
{quote}
Therefore, the persistence term is important to ensure the security of the 
system.

At present, because the log persistence has been done but not integrated, and 
the term persistence is also very necessary, so it will be the work of this 
issue to integrate the log persistence in the first place and implement the 
term persistence.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to