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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]