sanpwc commented on code in PR #6210:
URL: https://github.com/apache/ignite-3/pull/6210#discussion_r2195265151


##########
modules/raft/src/main/java/org/apache/ignite/internal/raft/JraftGroupEventsListener.java:
##########
@@ -29,8 +30,16 @@ public interface JraftGroupEventsListener {
      * Invoked, when a new leader is elected (if it is the first leader of 
group ever - will be invoked too).
      *
      * @param term Raft term of the current leader.
+     * @param configurationTerm Term on which the current configuration was 
applied.
+     * @param configurationIndex Index on which the current configuration was 
applied.
+     * @param configuration Raft configuration on the moment of leader 
election.
      */
-    void onLeaderElected(long term);
+    void onLeaderElected(

Review Comment:
   Agree, for the consistency purposes changed to Collection<PeerId> peers, 
Collection<PeerId> learners.



-- 
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

Reply via email to