You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2021/09/08 03:30:42 UTC

[GitHub] [ignite-3] sanpwc commented on a change in pull request #321: IGNITE-15288 Fully implement RaftGroupService

sanpwc commented on a change in pull request #321:
URL: https://github.com/apache/ignite-3/pull/321#discussion_r703997451



##########
File path: modules/raft-client/src/main/java/org/apache/ignite/raft/client/service/RaftGroupService.java
##########
@@ -155,6 +168,19 @@
      */
     CompletableFuture<Void> removeLearners(List<Peer> learners);
 
+    /**
+     * Reset learners.
+     * <p>
+     * After the future completion methods like {@link #peers()} and {@link #learners()}
+     * can be used to retrieve current members of a group.
+     * <p>
+     * This operation is executed on a group leader.
+     *
+     * @param learners List of learners.
+     * @return A future.
+     */
+    CompletableFuture<Void> resetLearners(List<Peer> learners);

Review comment:
       What reset means here? Could you please clarify this in javadoc?




-- 
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-unsubscribe@ignite.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org