You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@iotdb.apache.org by "Tan xinyu (Jira)" <ji...@apache.org> on 2020/03/11 06:39:00 UTC

[jira] [Created] (IOTDB-555) [Distributed]Add peer tracker

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)