sashapolo commented on code in PR #5134:
URL: https://github.com/apache/ignite-3/pull/5134#discussion_r1939250478
##########
modules/partition-replicator/src/main/java/org/apache/ignite/internal/partition/replicator/PartitionReplicaLifecycleManager.java:
##########
@@ -210,6 +212,8 @@ public class PartitionReplicaLifecycleManager extends
/** Configuration of rebalance retries delay. */
private final SystemDistributedConfigurationPropertyHolder<Integer>
rebalanceRetryDelayConfiguration;
+ private final ConcurrentMap<ZonePartitionId, ZonePartitionRaftListener>
zonePartitionRaftListeners = new ConcurrentHashMap<>();
Review Comment:
Makes sense. But this is not possible with the current code state: if we
move this logic inside `Replica`, then we need to be able to access
`ZonePartitionReplicaListener` inside it, but this class is in another module,
which is not accessible. We could overcome this by introducing something like
`ZoneReplica` and place it in the correct module, but this will also mean we
will need to have a `ZoneReplicaManager` and so on
--
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]