JAkutenshi commented on code in PR #5317:
URL: https://github.com/apache/ignite-3/pull/5317#discussion_r1975158830
##########
modules/replicator/src/main/java/org/apache/ignite/internal/replicator/ReplicaImpl.java:
##########
@@ -73,6 +74,10 @@ public class ReplicaImpl implements Replica {
private final PlacementDriverMessageProcessor
placementDriverMessageProcessor;
+ private final EventListener<PrimaryReplicaEventParameters>
onReplicaElected = this::registerFailoverCallback;
Review Comment:
I may propose `onPrimaryReplicaElected` and `onPrimaryReplicaExpired`, but
it's opinionated.
--
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]