sk0x50 commented on code in PR #7128:
URL: https://github.com/apache/ignite-3/pull/7128#discussion_r2598083690
##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/disaster/ManualGroupRestartRequest.java:
##########
@@ -157,59 +155,53 @@ private boolean shouldProcessPartition(ReplicationGroupId
replicationGroupId, Ca
?
Arrays.stream(AssignmentUtil.partitionIds(zoneDescriptor.partitions())).boxed().collect(Collectors.toSet())
: partitionIds;
- if (replicationGroupId instanceof TablePartitionId) {
- TablePartitionId groupId = (TablePartitionId) replicationGroupId;
+ assert !(replicationGroupId instanceof TablePartitionId) :
Review Comment:
discussed in private. it is OK to leave this assertion at least for now.
--
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]