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

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

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment