kgusakov commented on a change in pull request #379: URL: https://github.com/apache/ignite-3/pull/379#discussion_r724195595
########## File path: modules/raft/src/main/java/org/apache/ignite/internal/raft/Loza.java ########## @@ -147,4 +166,44 @@ public void stopRaftGroup(String groupId, List<ClusterNode> nodes) { if (nodes.stream().anyMatch(n -> locNodeName.equals(n.name()))) raftServer.stopRaftGroup(groupId); } + + /** + * Creates a raft group service providing operations on a raft group. + * If {@code deltaNodes} contains the current node, then raft group starts on the current node. + * @param groupId Raft group id. + * @param nodes Full set of raft group nodes. + * @param deltaNodes New raft group nodes. + * @param lsnrSupplier Raft group listener supplier. + * @return Future representing pending completion of the operation. + * @return + */ + public CompletableFuture<RaftGroupService> updateRaftGroup( Review comment: No. We need to set nodes to the client as peer list and run **only new nodes**, comparing to the previous assignment -- 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: notifications-unsubscr...@ignite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org