sk0x50 commented on code in PR #7136:
URL: https://github.com/apache/ignite-3/pull/7136#discussion_r2598743089


##########
modules/transactions/src/main/java/org/apache/ignite/internal/tx/impl/ReadWriteTransactionImpl.java:
##########
@@ -144,11 +131,6 @@ public void enlist(
         }
     }
 
-    private void assertReplicationGroupType(ReplicationGroupId 
replicationGroupId) {
-        assert (colocationEnabled ? replicationGroupId instanceof 
ZonePartitionId : replicationGroupId instanceof TablePartitionId)

Review Comment:
   Well, all parameters have `ZonePartitionId` type, so it is not possible to 
pass a `TablePartitionId` instead.



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