Tan xinyu created IOTDB-555:
-------------------------------

             Summary: [Distributed]Add peer tracker
                 Key: IOTDB-555
                 URL: https://issues.apache.org/jira/browse/IOTDB-555
             Project: Apache IoTDB
          Issue Type: Improvement
          Components: Core/Cluster
            Reporter: Tan xinyu


At present, even if the follower logs do not keep up with the progress of the 
cluster, the leader sends a single log entry which index is lastLogIndex 
directly when using appendEntries to the follower, which causes the wrong log 
entry to be transmitted. In fact, as long as the leader maintains the status of 
the followers, he can know which log should be transmitted, which greatly 
reduces the probability of transmitting wrong log entries.



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

Reply via email to