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


##########
modules/raft/src/main/java/org/apache/ignite/internal/raft/server/impl/RaftGroupEventsListenerAdapter.java:
##########
@@ -62,10 +62,24 @@ class RaftGroupEventsListenerAdapter implements 
JraftGroupEventsListener {
     }
 
     @Override
-    public void onLeaderElected(long term) {
+    public void onLeaderElected(
+            long term,
+            long configurationTerm,
+            long configurationIndex,
+            Collection<PeerId> peers,
+            Collection<PeerId> learners
+    ) {
         serviceEventInterceptor.onLeaderElected(grpId, term);
 
-        delegate.onLeaderElected(term);
+        delegate.onLeaderElected(
+                term,
+                configurationTerm,
+                configurationIndex,
+                PeersAndLearners.fromConsistentIds(

Review Comment:
   Good catch, fixed.



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