You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Roman Puchkovskiy (Jira)" <ji...@apache.org> on 2022/06/28 18:17:00 UTC

[jira] [Created] (IGNITE-17253) Support for snapshot streaming in RAFT state machine

|  ![](cid:jira-generated-image-avatar-c8ecacb9-0c8c-4003-90cf-bda899cf8ed2) |
[Roman
Puchkovskiy](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=rpuch)
**created** an issue  
---|---  
|  
---  
|  [Ignite](https://issues.apache.org/jira/browse/IGNITE) /
[![Improvement](cid:jira-generated-image-
avatar-d11d0785-0917-484a-9777-ce636b5a5bc8)](https://issues.apache.org/jira/browse/IGNITE-17253)
[IGNITE-17253](https://issues.apache.org/jira/browse/IGNITE-17253)  
---  
[Support for snapshot streaming in RAFT state
machine](https://issues.apache.org/jira/browse/IGNITE-17253)  
| Issue Type: |  ![Improvement](cid:jira-generated-image-
avatar-d11d0785-0917-484a-9777-ce636b5a5bc8) Improvement  
---|---  
Assignee: |  Unassigned  
Created: |  28/Jun/22 18:16  
Fix Versions: |  3.0.0-alpha6  
Labels: |  ignite-3  
Priority: |  ![Major](cid:jira-generated-image-static-
major-4f45b61d-2fcd-4c0c-b158-86b9bea85a00) Major  
Reporter: |  [Roman
Puchkovskiy](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=rpuch)  
|

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.

See [IGNITE-17083](https://issues.apache.org/jira/browse/IGNITE-17083
"Universal full rebalance procedure for MV storage")  
  
---  
|  |  [ ![Add Comment](cid:jira-generated-image-static-comment-
icon-9b4a42b3-84df-45b1-8362-260a7cff0290)
](https://issues.apache.org/jira/browse/IGNITE-17253#add-comment "Add
Comment") |  [Add
Comment](https://issues.apache.org/jira/browse/IGNITE-17253#add-comment "Add
Comment")  
---|---  
  
|  This message was sent by Atlassian Jira (v8.20.10#820010-sha1:ace47f9) |  |
![Atlassian logo](https://issues.apache.org/jira/images/mail/atlassian-email-
logo.png)  
---