sanpwc commented on code in PR #5241:
URL: https://github.com/apache/ignite-3/pull/5241#discussion_r1962075163
##########
modules/partition-replicator/src/main/java/org/apache/ignite/internal/partition/replicator/ZonePartitionReplicaListener.java:
##########
@@ -58,15 +58,18 @@ public class ZonePartitionReplicaListener implements
ReplicaListener {
private static final IgniteLogger LOG =
Loggers.forClass(ZonePartitionReplicaListener.class);
// TODO: https://issues.apache.org/jira/browse/IGNITE-22624 await for the
table replica listener if needed.
- private final Map<TablePartitionId, ReplicaListener> replicas = new
ConcurrentHashMap<>();
+ private final Map<Integer, ReplicaListener> replicas = new
ConcurrentHashMap<>();
Review Comment:
Please add our comment comment
// tableId -> tableProcessor
or similar. Otherwise it'll require more time to understand that Integer is
tableId and ReplciaListener is table listener.
--
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]