Cyrill commented on code in PR #3540:
URL: https://github.com/apache/ignite-3/pull/3540#discussion_r1555931057


##########
modules/replicator/src/main/java/org/apache/ignite/internal/replicator/Replica.java:
##########
@@ -128,6 +128,13 @@ public Replica(
         raftClient.subscribeLeader(this::onLeaderElected);
     }
 
+    /**
+     * Returns an instance of replica listener, associated with current 
replica.
+     */
+    ReplicaListener replicaListener() {

Review Comment:
   removed



##########
modules/replicator/src/main/java/org/apache/ignite/internal/replicator/ReplicaManager.java:
##########
@@ -227,6 +230,8 @@ public ReplicaManager(
                 new LinkedBlockingQueue<>(),
                 NamedThreadFactory.create(nodeName, "replica", LOG)
         );
+
+        placementDriver.listen(PrimaryReplicaEvent.PRIMARY_REPLICA_ELECTED, 
this::onPrimaryReplicaElected);

Review Comment:
   moved to TxManager



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

Reply via email to