sanpwc commented on code in PR #5407:
URL: https://github.com/apache/ignite-3/pull/5407#discussion_r1995634783


##########
modules/table/src/testFixtures/java/org/apache/ignite/distributed/ItTxTestCluster.java:
##########
@@ -275,6 +282,10 @@ public class ItTxTestCluster {
 
     protected String localNodeName;
 
+    private Map<String, Map<ZonePartitionId, ZonePartitionRaftListener>> 
zonePartitionRaftGroupListeners = new HashMap<>();
+
+    private Map<String, Map<ZonePartitionId, ZonePartitionReplicaListener>> 
zonePartitionReplicaListeners = new HashMap<>();

Review Comment:
   Yes, there are plenty of other maps in the class like
   ```
       protected Map<String, ReplicaManager> replicaManagers;
   
       protected Map<String, RaftGroupOptionsConfigurer> raftConfigurers;
   
       protected Map<String, LogStorageFactory> logStorageFactories;
   ```
   that are common HashMaps
   ```
           replicaManagers = new HashMap<>(nodes);
           replicaServices = new HashMap<>(nodes);
           txManagers = new HashMap<>(nodes);
   ```
   and are used in a similar manner



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