sk0x50 commented on code in PR #7128:
URL: https://github.com/apache/ignite-3/pull/7128#discussion_r2598061458
##########
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:
Minor: I think that this assertion can be safely removed. Perhaps, it can be
done a bit later under https://issues.apache.org/jira/browse/IGNITE-22522
--
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]