[ 
https://issues.apache.org/jira/browse/IGNITE-23900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aleksandr Polovtsev updated IGNITE-23900:
-----------------------------------------
    Description: 
{{Replica}} class contains a method that returns a {{RaftGroupService}} for 
interactions with the Raft layer, namely creating Raft snapshots. However, 
since this method is deprecated and will be removed in IGNITE-22036, it is 
proposed to make a separate method for making Raft snapshots inside the 
{{Replica}} class itself:

{code:java}
/**
 * Creates a Raft snapshot on a given peer.
 *
 * @param targetPeer Peer that will create a snapshot.
 * @return Future that gets completed when the target peer creates a snapshot.
 */
CompletableFuture<Void> snapshot(Peer targetPeer);
{code}


> Add a method to Replica for creating Raft snapshots
> ---------------------------------------------------
>
>                 Key: IGNITE-23900
>                 URL: https://issues.apache.org/jira/browse/IGNITE-23900
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Aleksandr Polovtsev
>            Assignee: Aleksandr Polovtsev
>            Priority: Major
>              Labels: ignite-3
>
> {{Replica}} class contains a method that returns a {{RaftGroupService}} for 
> interactions with the Raft layer, namely creating Raft snapshots. However, 
> since this method is deprecated and will be removed in IGNITE-22036, it is 
> proposed to make a separate method for making Raft snapshots inside the 
> {{Replica}} class itself:
> {code:java}
> /**
>  * Creates a Raft snapshot on a given peer.
>  *
>  * @param targetPeer Peer that will create a snapshot.
>  * @return Future that gets completed when the target peer creates a snapshot.
>  */
> CompletableFuture<Void> snapshot(Peer targetPeer);
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to