Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-554

[Distributed] Add the ability to resolve log inconsistencies for AppendEntries request

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • Core/Cluster

    Description

      Currently the leader use heartbeat requests to periodically resolve log conflicts, while AppendEntries is only used to synchronize the latest log entry, even if the logs do not match. If there is an inconsistency in the log between nodes, the leader can only wait for a periodic heartbeat to try to solve it, but cannot solve it in a short time, which eventually leads to poor read performance. In fact, the leader should try to resolve the conflict as soon as they encounter a conflict after sending an AppendEntries request.

      Attachments

        Issue Links

          Activity

            People

              LebronAl Tan xinyu
              LebronAl Tan xinyu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: