Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-17253

Support for snapshot streaming in RAFT state machine

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None

    Description

      In JRaft, snapshotting works through files: first, a snapshot is written to a file, later it is sent to follower(s).

      This requires additional FS space, and it is a bit strange for in-memory cases.

      We need to switch to streaming way of doing snapshots: when the leader needs to bootstrap a follower, it opens a 'channel' to the follower, starts producing a snapshot and streaming it to the follower. The follower applies the snapshot in the same streaming way.

      This ticket is about modifying JRaft internal infrastructure to switch to snapshot streaming.

      See IGNITE-17083

      Attachments

        Issue Links

        Activity

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

          People

            Unassigned Unassigned
            rpuch Roman Puchkovskiy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment