sergeyuttsel commented on code in PR #1225:
URL: https://github.com/apache/ignite-3/pull/1225#discussion_r999376648


##########
modules/transactions/src/main/java/org/apache/ignite/internal/tx/impl/TransactionImpl.java:
##########
@@ -55,11 +57,14 @@ public class TransactionImpl implements InternalTransaction 
{
     private final TxManager txManager;
 
     /** Enlisted replication groups: replication group id -> (primary replica 
node, raft term). */
-    private final Map<String, IgniteBiTuple<ClusterNode, Long>> enlisted = new 
ConcurrentSkipListMap<>();
+    private final Map<TablePartitionId, IgniteBiTuple<ClusterNode, Long>> 
enlisted = new ConcurrentSkipListMap<>();

Review Comment:
   It's enough to use ConcurrentHashMap



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