sanpwc commented on code in PR #4861:
URL: https://github.com/apache/ignite-3/pull/4861#discussion_r1876125253
##########
modules/replicator/src/main/java/org/apache/ignite/internal/replicator/Replica.java:
##########
@@ -82,4 +82,21 @@ public interface Replica {
* @param peersAndLearners Peers and learners.
*/
void updatePeersAndLearners(PeersAndLearners peersAndLearners);
+
+ /**
+ * Creates a snapshot on a given node.
+ *
+ * @param targetConsistentId Name of the node that will create a snapshot.
+ * @return Future that gets completed when the target node creates a
snapshot.
+ */
+ CompletableFuture<Void> createSnapshotOn(String targetConsistentId);
Review Comment:
How it'll be possible to create a snapshot on learner?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]