kgusakov commented on code in PR #839:
URL: https://github.com/apache/ignite-3/pull/839#discussion_r890210396
##########
modules/raft-client/src/main/java/org/apache/ignite/raft/client/service/RaftGroupService.java:
##########
@@ -143,6 +153,21 @@ public interface RaftGroupService {
*/
CompletableFuture<Void> changePeers(List<Peer> peers);
+ /**
+ * Changes peers of the replication group.
+ *
+ * <p>Asynchronous variant of the previous method.
+ * When the future completed, it just means, that changePeers process
successfully started.
+ *
+ * <p>This operation is executed on a group leader.
+ *
+ * @param peers Peers.
+ * @param term Current known leader term.
+ * If real raft group term will be different - changePeers
will be skipped.
Review Comment:
Can't link to the real method (client module is not dependent on server),
but will note it by the words
--
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]