tkalkirill commented on code in PR #2030:
URL: https://github.com/apache/ignite-3/pull/2030#discussion_r1200045358
##########
modules/replicator/src/main/java/org/apache/ignite/internal/replicator/listener/ReplicaListener.java:
##########
@@ -31,4 +33,20 @@ public interface ReplicaListener {
* @return Listener response.
*/
CompletableFuture<?> invoke(ReplicaRequest request);
+
+ /**
+ * Callback on leader election.
+ *
+ * @param clusterNode Leader node.
+ */
+ default void onLeaderElected(ClusterNode clusterNode) {
Review Comment:
fix it
--
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]